start 35 include/crm/common/iso8601.h crm_time_t *start; start 43 include/crm/common/strings_internal.h int pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end); start 202 include/crm/pengine/internal.h GListPtr start; /* notify_entry_t* */ start 22 include/crm/pengine/rules_internal.h crm_time_t *pe_parse_xml_duration(crm_time_t * start, xmlNode * duration_spec); start 16 include/pcmki/pcmki_sched_notif.h pe_action_t *start, pe_action_t *end, start 1111 lib/common/iso8601.c period->start = parse_date(period_str); start 1112 lib/common/iso8601.c if (period->start == NULL) { start 1140 lib/common/iso8601.c period->start = crm_time_new(NULL); start 1150 lib/common/iso8601.c if (period->start == NULL) { start 1151 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); start 1154 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); start 1157 lib/common/iso8601.c if (crm_time_check(period->start) == FALSE) { start 1185 lib/common/iso8601.c crm_time_free(period->start); start 651 lib/common/remote.c time_t start; start 660 lib/common/remote.c start = time(NULL); start 670 lib/common/remote.c timeout = timeout_ms - ((time(NULL) - start) * 1000); start 807 lib/common/remote.c time_t start = time(NULL); start 849 lib/common/remote.c remaining_timeout = timeout_ms - ((time(NULL) - start) * 1000); start 857 lib/common/remote.c time_t start; start 872 lib/common/remote.c if (cb_data->start == 0) { start 887 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { start 897 lib/common/remote.c if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) { start 1000 lib/common/remote.c cb_data->start = 0; start 1003 lib/common/remote.c cb_data->start = time(NULL); start 727 lib/common/strings.c pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end) start 731 lib/common/strings.c CRM_ASSERT(start != NULL && end != NULL); start 733 lib/common/strings.c *start = PCMK__PARSE_INT_DEFAULT; start 754 lib/common/strings.c if (scan_ll(srcstring, start, &remainder) != pcmk_rc_ok) { start 768 lib/common/strings.c *start = PCMK__PARSE_INT_DEFAULT; start 775 lib/common/strings.c *end = *start; start 8 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 10 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==, start 12 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("", &start, &end), ==, start 19 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 21 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("1234", &start, &end), ==, pcmk_rc_ok); start 22 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, 1234); start 29 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 31 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-", &start, &end), ==, start 33 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT); start 40 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 42 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-", &start, &end), ==, start 44 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, 2000); start 51 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 53 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-2020", &start, &end), ==, start 55 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT); start 62 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 64 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-2020", &start, &end), ==, start 66 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, 2000); start 73 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 75 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000x-", &start, &end), ==, start 77 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT); start 80 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-x2000", &start, &end), ==, start 82 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT); start 1297 lib/common/xml.c replace_text(char *text, int start, int *length, const char *replace) start 1305 lib/common/xml.c for (lpc = (*length) - 1; lpc > (start + offset); lpc--) { start 1309 lib/common/xml.c memcpy(text + start, replace, offset + 1); start 608 lib/lrmd/lrmd_client.c time_t start = time(NULL); start 625 lib/lrmd/lrmd_client.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); start 2725 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *start = NULL; start 2732 lib/pacemaker/pcmk_sched_allocate.c start = actions->data; start 2736 lib/pacemaker/pcmk_sched_allocate.c if(start == NULL) { start 2743 lib/pacemaker/pcmk_sched_allocate.c for (actions = start->actions_before; actions != NULL; actions = actions->next) { start 2755 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Testing %s -> %s (%p) for %s", first->uuid, before->action->uuid, before->action->rsc, start->uuid); start 2763 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Not a start op %s for %s", first->uuid, start->uuid); start 2769 lib/pacemaker/pcmk_sched_allocate.c } else if(uber_parent(first_rsc) == uber_parent(start->rsc)) { start 2770 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Same parent %s for %s", first_rsc->id, start->uuid); start 2774 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid); start 2778 lib/pacemaker/pcmk_sched_allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); start 805 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; start 832 lib/pacemaker/pcmk_sched_clone.c start = find_rsc_action(child, RSC_START, active_only, NULL); start 833 lib/pacemaker/pcmk_sched_clone.c if (start) { start 836 lib/pacemaker/pcmk_sched_clone.c order_actions(last_start, start, pe_order_optional); start 838 lib/pacemaker/pcmk_sched_clone.c last_start = start; start 868 lib/pacemaker/pcmk_sched_clone.c pe_action_t *start = NULL; start 889 lib/pacemaker/pcmk_sched_clone.c start = create_pseudo_resource_op(rsc, RSC_START, !child_starting, TRUE, data_set); start 898 lib/pacemaker/pcmk_sched_clone.c *start_notify = create_notification_boundaries(rsc, RSC_START, start, started, data_set); start 506 lib/pacemaker/pcmk_sched_graph.c pe_action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL); start 507 lib/pacemaker/pcmk_sched_graph.c if ((start == NULL) || pcmk_is_set(start->flags, pe_action_runnable)) { start 182 lib/pacemaker/pcmk_sched_group.c int start = pe_order_implies_then | pe_order_runnable_left; start 220 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, start | pe_order_implies_first_printed); start 223 lib/pacemaker/pcmk_sched_group.c start | pe_order_implies_first_printed, data_set); start 229 lib/pacemaker/pcmk_sched_group.c order_start_start(last_rsc, child_rsc, start); start 233 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set); start 26 lib/pacemaker/pcmk_sched_native.c static void Recurring(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node, start 28 lib/pacemaker/pcmk_sched_native.c static void RecurringOp(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node, start 30 lib/pacemaker/pcmk_sched_native.c static void Recurring_Stopped(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node, start 32 lib/pacemaker/pcmk_sched_native.c static void RecurringOp_Stopped(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node, start 711 lib/pacemaker/pcmk_sched_native.c RecurringOp(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, start 763 lib/pacemaker/pcmk_sched_native.c if (start != NULL) { start 765 lib/pacemaker/pcmk_sched_native.c pcmk_is_set(start->flags, pe_action_optional)? "optional" : "mandatory", start 766 lib/pacemaker/pcmk_sched_native.c start->uuid); start 767 lib/pacemaker/pcmk_sched_native.c is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional); start 845 lib/pacemaker/pcmk_sched_native.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { start 892 lib/pacemaker/pcmk_sched_native.c Recurring(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set) start 903 lib/pacemaker/pcmk_sched_native.c RecurringOp(rsc, start, node, operation, data_set); start 910 lib/pacemaker/pcmk_sched_native.c RecurringOp_Stopped(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, start 1105 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set) start 1116 lib/pacemaker/pcmk_sched_native.c RecurringOp_Stopped(rsc, start, node, operation, data_set); start 1127 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; start 1133 lib/pacemaker/pcmk_sched_native.c start = start_action(rsc, chosen, TRUE); start 1146 lib/pacemaker/pcmk_sched_native.c pe__set_action_flags(start, pe_action_migrate_runnable); start 1150 lib/pacemaker/pcmk_sched_native.c update_action_flags(start, pe_action_pseudo, __func__, __LINE__); start 1155 lib/pacemaker/pcmk_sched_native.c migrate_from->needs = start->needs; start 1164 lib/pacemaker/pcmk_sched_native.c migrate_to->needs = start->needs; start 1214 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; start 1314 lib/pacemaker/pcmk_sched_native.c start = start_action(rsc, chosen, TRUE); start 1315 lib/pacemaker/pcmk_sched_native.c pe__set_action_flags(start, pe_action_print_always); start 1343 lib/pacemaker/pcmk_sched_native.c start = start_action(rsc, chosen, TRUE); start 1344 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(start->flags, pe_action_optional)) { start 1407 lib/pacemaker/pcmk_sched_native.c start = start_action(rsc, chosen, TRUE); start 1408 lib/pacemaker/pcmk_sched_native.c Recurring(rsc, start, chosen, data_set); start 1409 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(rsc, start, chosen, data_set); start 2511 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; start 2566 lib/pacemaker/pcmk_sched_native.c start = possible_matches->data; start 2570 lib/pacemaker/pcmk_sched_native.c if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) { start 2605 lib/pacemaker/pcmk_sched_native.c LogAction("Migrate", rsc, current, next, start, NULL, terminal); start 2608 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); start 2611 lib/pacemaker/pcmk_sched_native.c } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) { start 2622 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk_is_set(start->flags, pe_action_runnable)) { start 2624 lib/pacemaker/pcmk_sched_native.c (stop && stop->reason)? stop : start, terminal); start 2636 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); start 2646 lib/pacemaker/pcmk_sched_native.c || (start && !pcmk_is_set(start->flags, pe_action_runnable)))) { start 2666 lib/pacemaker/pcmk_sched_native.c (stop_op && stop_op->reason)? stop_op : start, terminal); start 2674 lib/pacemaker/pcmk_sched_native.c LogAction("Recover", rsc, current, next, stop, start, terminal); start 2682 lib/pacemaker/pcmk_sched_native.c LogAction("Reload", rsc, current, next, start, NULL, terminal); start 2685 lib/pacemaker/pcmk_sched_native.c LogAction("Restart", rsc, current, next, start, NULL, terminal); start 2697 lib/pacemaker/pcmk_sched_native.c LogAction("Start", rsc, current, next, start, NULL, terminal); start 2789 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = NULL; start 2793 lib/pacemaker/pcmk_sched_native.c start = start_action(rsc, next, TRUE); start 2795 lib/pacemaker/pcmk_sched_native.c order_after_unfencing(rsc, next, start, pe_order_implies_then, data_set); start 2797 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(start->flags, pe_action_runnable) && !optional) { start 2798 lib/pacemaker/pcmk_sched_native.c update_action_flags(start, pe_action_optional | pe_action_clear, start 2820 lib/pacemaker/pcmk_sched_native.c pe_action_t *start = (pe_action_t *) gIter->data; start 2822 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(start->flags, pe_action_runnable)) { start 288 lib/pacemaker/pcmk_sched_notif.c create_notification_boundaries(pe_resource_t * rsc, const char *action, pe_action_t * start, start 310 lib/pacemaker/pcmk_sched_notif.c if (start) { start 312 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "pre", start->task); start 315 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(start->flags, pe_action_optional), start 326 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->pre->meta, "notify_key_operation", start->task); start 329 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-pre", start->task); start 331 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(start->flags, pe_action_optional), start 343 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->pre_done->meta, "notify_key_operation", start->task); start 345 lib/pacemaker/pcmk_sched_notif.c order_actions(n_data->pre_done, start, pe_order_optional); start 400 lib/pacemaker/pcmk_sched_notif.c if (start && end) { start 488 lib/pacemaker/pcmk_sched_notif.c n_data->start = g_list_prepend(n_data->start, entry); start 545 lib/pacemaker/pcmk_sched_notif.c if ((n_data->start != NULL) start 549 lib/pacemaker/pcmk_sched_notif.c n_data->start = expand_list(n_data->start, &rsc_list, &node_list); start 647 lib/pacemaker/pcmk_sched_notif.c pe_action_t *start = NULL; start 685 lib/pacemaker/pcmk_sched_notif.c if (n_data->start == NULL) { start 716 lib/pacemaker/pcmk_sched_notif.c start = find_first_action(rsc->actions, NULL, RSC_START, NULL); start 751 lib/pacemaker/pcmk_sched_notif.c if (start) { start 752 lib/pacemaker/pcmk_sched_notif.c pe_action_t *remote_start = find_remote_start(start); start 764 lib/pacemaker/pcmk_sched_notif.c if ((task != start_rsc) || (start == NULL) start 765 lib/pacemaker/pcmk_sched_notif.c || pcmk_is_set(start->flags, pe_action_optional)) { start 782 lib/pacemaker/pcmk_sched_notif.c g_list_free_full(n_data->start, free); start 315 lib/pengine/rules.c pe_parse_xml_duration(crm_time_t * start, xmlNode * duration_spec) start 321 lib/pengine/rules.c crm_time_set(end, start); start 1177 lib/pengine/rules.c crm_time_t *start = NULL; start 1195 lib/pengine/rules.c start = crm_time_new(value); start 1202 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { start 1203 lib/pengine/rules.c end = pe_parse_xml_duration(start, duration_spec); start 1207 lib/pengine/rules.c if ((start == NULL) && (end == NULL)) { start 1209 lib/pengine/rules.c } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) { start 1211 lib/pengine/rules.c crm_time_set_if_earlier(next_change, start); start 1228 lib/pengine/rules.c if (start == NULL) { start 1230 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, start) > 0) { start 1236 lib/pengine/rules.c crm_time_add_seconds(start, 1); start 1237 lib/pengine/rules.c crm_time_set_if_earlier(next_change, start); start 1251 lib/pengine/rules.c crm_time_free(start); start 768 lib/services/services_linux.c time_t start = -1; start 785 lib/services/services_linux.c start = time(NULL); start 825 lib/services/services_linux.c timeout = op->timeout - (time(NULL) - start) * 1000; start 88 lib/services/services_nagios.c int start = 0, length = 0, read_len = 0; start 99 lib/services/services_nagios.c start = ftell(file_strm); start 102 lib/services/services_nagios.c fseek(file_strm, 0L, start); start 105 lib/services/services_nagios.c CRM_ASSERT(start == ftell(file_strm)); start 101 tools/crm_error.c int start, end, width; start 105 tools/crm_error.c start = pcmk_rc_error - 256; start 109 tools/crm_error.c start = 0; start 114 tools/crm_error.c for (rc = start; rc < end; rc++) { start 785 tools/crm_simulate.c clock_t start = 0; start 791 tools/crm_simulate.c start = clock(); start 816 tools/crm_simulate.c printf(" %.2f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); start 100 tools/iso8601.c char *start = crm_time_as_string(dtp->start, flags); start 103 tools/iso8601.c CRM_ASSERT(start != NULL && end != NULL); start 104 tools/iso8601.c do_crm_log(log_level, "Period: %s to %s", start, end); start 105 tools/iso8601.c free(start);