timer 103 attrd/commands.c mainloop_timer_del(a->timer); timer 158 attrd/commands.c a->timer = mainloop_timer_add(a->id, a->timeout_ms, FALSE, attribute_timer_cb, a); timer 362 attrd/commands.c mainloop_timer_stop(a->timer); timer 781 attrd/commands.c mainloop_timer_stop(a->timer); timer 782 attrd/commands.c mainloop_timer_del(a->timer); timer 785 attrd/commands.c a->timer = mainloop_timer_add(attr, a->timeout_ms, FALSE, timer 790 attrd/commands.c a->timer = NULL; timer 849 attrd/commands.c if (a->timer) { timer 851 attrd/commands.c mainloop_timer_start(a->timer); timer 1106 attrd/commands.c } else if (mainloop_timer_running(a->timer)) { timer 34 attrd/internal.h mainloop_timer_t *timer; timer 234 crmd/callbacks.c stop_te_timer(down->timer); timer 74 crmd/crmd_utils.h gboolean crm_timer_stop(fsa_timer_t * timer); timer 75 crmd/crmd_utils.h gboolean crm_timer_start(fsa_timer_t * timer); timer 77 crmd/crmd_utils.h gboolean is_timer_started(fsa_timer_t * timer); timer 103 crmd/crmd_utils.h const char *get_timer_desc(fsa_timer_t * timer); timer 43 crmd/te_actions.c action->timer = calloc(1, sizeof(crm_action_timer_t)); timer 44 crmd/te_actions.c action->timer->timeout = action->timeout; timer 45 crmd/te_actions.c action->timer->reason = timeout_action; timer 46 crmd/te_actions.c action->timer->action = action; timer 47 crmd/te_actions.c action->timer->source_id = g_timeout_add(action->timer->timeout + graph->network_delay, timer 48 crmd/te_actions.c action_timer_callback, (void *)action->timer); timer 50 crmd/te_actions.c CRM_ASSERT(action->timer->source_id != 0); timer 492 crmd/te_callbacks.c stop_te_timer(cancel->timer); timer 790 crmd/te_callbacks.c stop_te_timer(action->timer); timer 877 crmd/te_callbacks.c crm_action_timer_t *timer = NULL; timer 881 crmd/te_callbacks.c timer = (crm_action_timer_t *) data; timer 882 crmd/te_callbacks.c stop_te_timer(timer); timer 885 crmd/te_callbacks.c timer->timeout, timer 888 crmd/te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); timer 893 crmd/te_callbacks.c } else if (timer->reason == timeout_action_warn) { timer 894 crmd/te_callbacks.c print_action(LOG_WARNING, "Action missed its timeout: ", timer->action); timer 905 crmd/te_callbacks.c const char *task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); timer 907 crmd/te_callbacks.c print_action(LOG_ERR, "Aborting transition, action lost: ", timer->action); timer 909 crmd/te_callbacks.c timer->action->failed = TRUE; timer 910 crmd/te_callbacks.c te_action_confirmed(timer->action); timer 913 crmd/te_callbacks.c update_graph(transition_graph, timer->action); timer 916 crmd/te_callbacks.c if (timer->action->type != action_type_rsc) { timer 924 crmd/te_callbacks.c cib_action_update(timer->action, PCMK_LRM_OP_TIMEOUT, PCMK_OCF_UNKNOWN_ERROR); timer 85 crmd/te_events.c stop_te_timer(action->timer); timer 303 crmd/te_events.c stop_te_timer(action->timer); timer 335 crmd/te_events.c stop_te_timer(action->timer); timer 443 crmd/te_utils.c stop_te_timer(crm_action_timer_t * timer) timer 447 crmd/te_utils.c if (timer == NULL) { timer 450 crmd/te_utils.c if (timer->reason == timeout_abort) { timer 455 crmd/te_utils.c if (timer->source_id != 0) { timer 457 crmd/te_utils.c g_source_remove(timer->source_id); timer 458 crmd/te_utils.c timer->source_id = 0; timer 45 crmd/tengine.h extern gboolean start_global_timer(crm_action_timer_t * timer, int timeout); timer 46 crmd/tengine.h extern gboolean stop_te_timer(crm_action_timer_t * timer); timer 76 crmd/utils.c get_timer_desc(fsa_timer_t * timer) timer 78 crmd/utils.c if (timer == election_trigger) { timer 81 crmd/utils.c } else if (timer == shutdown_escalation_timer) { timer 84 crmd/utils.c } else if (timer == integration_timer) { timer 87 crmd/utils.c } else if (timer == finalization_timer) { timer 90 crmd/utils.c } else if (timer == transition_timer) { timer 93 crmd/utils.c } else if (timer == wait_timer) { timer 96 crmd/utils.c } else if (timer == recheck_timer) { timer 106 crmd/utils.c fsa_timer_t *timer = (fsa_timer_t *) data; timer 108 crmd/utils.c if (timer == wait_timer timer 109 crmd/utils.c || timer == recheck_timer timer 110 crmd/utils.c || timer == transition_timer || timer == finalization_timer || timer == election_trigger) { timer 112 crmd/utils.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer->period_ms); timer 113 crmd/utils.c timer->counter++; timer 117 crmd/utils.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 118 crmd/utils.c fsa_state2string(fsa_state), timer->period_ms); timer 121 crmd/utils.c if (timer == election_trigger && election_trigger->counter > 5) { timer 127 crmd/utils.c if (timer->repeat == FALSE) { timer 128 crmd/utils.c crm_timer_stop(timer); /* make it _not_ go off again */ timer 131 crmd/utils.c if (timer->fsa_input == I_INTEGRATED) { timer 140 crmd/utils.c register_fsa_input_before(C_TIMER_POPPED, timer->fsa_input, NULL); timer 143 crmd/utils.c } else if (timer == recheck_timer && fsa_state != S_IDLE) { timer 145 crmd/utils.c fsa_input2string(timer->fsa_input), fsa_state2string(fsa_state)); timer 147 crmd/utils.c } else if (timer == finalization_timer && fsa_state != S_FINALIZE_JOIN) { timer 149 crmd/utils.c fsa_input2string(timer->fsa_input), fsa_state2string(fsa_state)); timer 151 crmd/utils.c } else if (timer->fsa_input != I_NULL) { timer 152 crmd/utils.c register_fsa_input(C_TIMER_POPPED, timer->fsa_input, NULL); timer 162 crmd/utils.c is_timer_started(fsa_timer_t * timer) timer 164 crmd/utils.c if (timer->period_ms > 0) { timer 165 crmd/utils.c if (timer->source_id == 0) { timer 175 crmd/utils.c crm_timer_start(fsa_timer_t * timer) timer 177 crmd/utils.c const char *timer_desc = get_timer_desc(timer); timer 179 crmd/utils.c if (timer->source_id == 0 && timer->period_ms > 0) { timer 180 crmd/utils.c timer->source_id = g_timeout_add(timer->period_ms, timer->callback, (void *)timer); timer 181 crmd/utils.c CRM_ASSERT(timer->source_id != 0); timer 183 crmd/utils.c timer_desc, fsa_input2string(timer->fsa_input), timer 184 crmd/utils.c timer->period_ms, timer->source_id); timer 186 crmd/utils.c } else if (timer->period_ms < 0) { timer 188 crmd/utils.c timer_desc, fsa_input2string(timer->fsa_input), timer->period_ms); timer 192 crmd/utils.c timer_desc, fsa_input2string(timer->fsa_input), timer 193 crmd/utils.c timer->period_ms, timer->source_id); timer 200 crmd/utils.c crm_timer_stop(fsa_timer_t * timer) timer 202 crmd/utils.c const char *timer_desc = get_timer_desc(timer); timer 204 crmd/utils.c if (timer == NULL) { timer 208 crmd/utils.c } else if (timer->source_id != 0) { timer 210 crmd/utils.c timer_desc, fsa_input2string(timer->fsa_input), timer 211 crmd/utils.c timer->period_ms, timer->source_id); timer 212 crmd/utils.c g_source_remove(timer->source_id); timer 213 crmd/utils.c timer->source_id = 0; timer 217 crmd/utils.c timer_desc, fsa_input2string(timer->fsa_input), timer->period_ms); timer 108 include/crm/cib/internal.h struct timer_rec_s *timer; timer 54 include/crm/transition.h crm_action_timer_t *timer; timer 197 lib/cib/cib_client.c if (blob->timer && blob->timer->ref > 0) { timer 198 lib/cib/cib_client.c g_source_remove(blob->timer->ref); timer 200 lib/cib/cib_client.c free(blob->timer); timer 582 lib/cib/cib_client.c struct timer_rec_s *timer = data; timer 584 lib/cib/cib_client.c crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); timer 585 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); timer 636 lib/cib/cib_client.c blob->timer = async_timer; timer 772 lib/common/remote.c int timer; timer 815 lib/common/remote.c timer = g_timeout_add(interval, check_connect_finished, cb_data); timer 817 lib/common/remote.c *timer_id = timer; timer 107 lib/fencing/st_client.c struct timer_rec_s *timer; timer 1698 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { timer 1699 lib/fencing/st_client.c g_source_remove(blob->timer->ref); timer 1701 lib/fencing/st_client.c free(blob->timer); timer 1921 lib/fencing/st_client.c struct timer_rec_s *timer = data; timer 1923 lib/fencing/st_client.c crm_err("Async call %d timed out after %dms", timer->call_id, timer->timeout); timer 1924 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); timer 1936 lib/fencing/st_client.c struct timer_rec_s *async_timer = callback->timer; timer 1944 lib/fencing/st_client.c callback->timer = async_timer; timer 248 lib/transition/unpack.c if (action->timer && action->timer->source_id != 0) { timer 249 lib/transition/unpack.c crm_warn("Cancelling timer for action %d (src=%d)", action->id, action->timer->source_id); timer 250 lib/transition/unpack.c g_source_remove(action->timer->source_id); timer 256 lib/transition/unpack.c free(action->timer); timer 157 lrmd/lrmd_alert_api.c guint timer, count; timer 167 lrmd/lrmd_alert_api.c timer = g_timeout_add(timer_ms, alert_drain_timeout_callback, timer 180 lrmd/lrmd_alert_api.c if (!timeout_popped && (timer > 0)) { timer 181 lrmd/lrmd_alert_api.c g_source_remove(timer);