timer 98 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 172 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, a->timeout_ms, FALSE, attribute_timer_cb, a); timer 756 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); timer 823 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 826 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(attr, a->timeout_ms, FALSE, timer 831 daemons/attrd/attrd_commands.c a->timer = NULL; timer 890 daemons/attrd/attrd_commands.c if (a->timeout_ms && a->timer) { timer 892 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 898 daemons/attrd/attrd_commands.c if (is_force_write && a->timeout_ms && a->timer) { timer 1013 daemons/attrd/attrd_commands.c if (a->timer && !a->timeout_ms) { timer 1015 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 1016 daemons/attrd/attrd_commands.c a->timer = NULL; timer 1058 daemons/attrd/attrd_commands.c } else if (a->timer) { timer 1060 daemons/attrd/attrd_commands.c if (!mainloop_timer_running(a->timer)) { timer 1063 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1070 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, 2000, FALSE, timer 1072 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1201 daemons/attrd/attrd_commands.c } else if (mainloop_timer_running(a->timer)) { timer 1206 daemons/attrd/attrd_commands.c mainloop_timer_stop(a->timer); timer 95 daemons/attrd/pacemaker-attrd.h mainloop_timer_t *timer; timer 749 daemons/controld/controld_fencing.c stop_te_timer(action->timer); timer 31 daemons/controld/controld_te_actions.c action->timer = calloc(1, sizeof(crm_action_timer_t)); timer 32 daemons/controld/controld_te_actions.c action->timer->timeout = action->timeout; timer 33 daemons/controld/controld_te_actions.c action->timer->action = action; timer 34 daemons/controld/controld_te_actions.c action->timer->source_id = g_timeout_add(action->timer->timeout + graph->network_delay, timer 35 daemons/controld/controld_te_actions.c action_timer_callback, (void *)action->timer); timer 37 daemons/controld/controld_te_actions.c CRM_ASSERT(action->timer->source_id != 0); timer 675 daemons/controld/controld_te_callbacks.c crm_action_timer_t *timer = NULL; timer 682 daemons/controld/controld_te_callbacks.c timer = (crm_action_timer_t *) data; timer 683 daemons/controld/controld_te_callbacks.c stop_te_timer(timer); timer 685 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); timer 687 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); timer 688 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); timer 689 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE); timer 695 daemons/controld/controld_te_callbacks.c (via_node? via_node : "controller"), timer->timeout); timer 703 daemons/controld/controld_te_callbacks.c timer->timeout + transition_graph->network_delay); timer 704 daemons/controld/controld_te_callbacks.c print_action(LOG_ERR, "Aborting transition, action lost: ", timer->action); timer 706 daemons/controld/controld_te_callbacks.c timer->action->failed = TRUE; timer 707 daemons/controld/controld_te_callbacks.c te_action_confirmed(timer->action, transition_graph); timer 711 daemons/controld/controld_te_callbacks.c if ((timer->action->type == action_type_rsc) timer 713 daemons/controld/controld_te_callbacks.c controld_record_action_timeout(timer->action); timer 74 daemons/controld/controld_te_events.c stop_te_timer(action->timer); timer 270 daemons/controld/controld_te_events.c stop_te_timer(cancel->timer); timer 449 daemons/controld/controld_te_events.c stop_te_timer(action->timer); timer 18 daemons/controld/controld_te_utils.c stop_te_timer(crm_action_timer_t * timer) timer 20 daemons/controld/controld_te_utils.c if (timer == NULL) { timer 23 daemons/controld/controld_te_utils.c if (timer->source_id != 0) { timer 25 daemons/controld/controld_te_utils.c g_source_remove(timer->source_id); timer 26 daemons/controld/controld_te_utils.c timer->source_id = 0; timer 85 daemons/controld/controld_timers.c get_timer_desc(fsa_timer_t * timer) timer 87 daemons/controld/controld_timers.c if (timer == election_trigger) { timer 90 daemons/controld/controld_timers.c } else if (timer == shutdown_escalation_timer) { timer 93 daemons/controld/controld_timers.c } else if (timer == integration_timer) { timer 96 daemons/controld/controld_timers.c } else if (timer == finalization_timer) { timer 99 daemons/controld/controld_timers.c } else if (timer == transition_timer) { timer 102 daemons/controld/controld_timers.c } else if (timer == wait_timer) { timer 105 daemons/controld/controld_timers.c } else if (timer == recheck_timer) { timer 115 daemons/controld/controld_timers.c fsa_timer_t *timer = (fsa_timer_t *) data; timer 117 daemons/controld/controld_timers.c if (timer->log_error) { timer 119 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_state2string(fsa_state), timer 120 daemons/controld/controld_timers.c fsa_input2string(timer->fsa_input), timer->period_ms); timer 123 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 124 daemons/controld/controld_timers.c timer->period_ms); timer 125 daemons/controld/controld_timers.c timer->counter++; timer 128 daemons/controld/controld_timers.c if (timer == election_trigger && election_trigger->counter > 5) { timer 134 daemons/controld/controld_timers.c controld_stop_timer(timer); // Make timer _not_ go off again timer 136 daemons/controld/controld_timers.c if (timer->fsa_input == I_INTEGRATED) { timer 146 daemons/controld/controld_timers.c register_fsa_input_before(C_TIMER_POPPED, timer->fsa_input, NULL); timer 149 daemons/controld/controld_timers.c } else if (timer == recheck_timer && fsa_state != S_IDLE) { timer 151 daemons/controld/controld_timers.c fsa_input2string(timer->fsa_input), fsa_state2string(fsa_state)); timer 153 daemons/controld/controld_timers.c } else if (timer == finalization_timer && fsa_state != S_FINALIZE_JOIN) { timer 155 daemons/controld/controld_timers.c fsa_input2string(timer->fsa_input), fsa_state2string(fsa_state)); timer 157 daemons/controld/controld_timers.c } else if (timer->fsa_input != I_NULL) { timer 158 daemons/controld/controld_timers.c register_fsa_input(C_TIMER_POPPED, timer->fsa_input, NULL); timer 284 daemons/controld/controld_timers.c is_timer_started(fsa_timer_t * timer) timer 286 daemons/controld/controld_timers.c return (timer->period_ms > 0) && (timer->source_id != 0); timer 290 daemons/controld/controld_timers.c controld_start_timer(fsa_timer_t *timer) timer 292 daemons/controld/controld_timers.c if (timer->source_id == 0 && timer->period_ms > 0) { timer 293 daemons/controld/controld_timers.c timer->source_id = g_timeout_add(timer->period_ms, timer->callback, (void *)timer); timer 294 daemons/controld/controld_timers.c CRM_ASSERT(timer->source_id != 0); timer 296 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 297 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 300 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 301 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 335 daemons/controld/controld_timers.c controld_stop_timer(fsa_timer_t *timer) timer 337 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return FALSE); timer 339 daemons/controld/controld_timers.c if (timer->source_id != 0) { timer 341 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 342 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 343 daemons/controld/controld_timers.c g_source_remove(timer->source_id); timer 344 daemons/controld/controld_timers.c timer->source_id = 0; timer 348 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 349 daemons/controld/controld_timers.c timer->period_ms); timer 39 daemons/controld/controld_timers.h gboolean controld_stop_timer(fsa_timer_t *timer); timer 40 daemons/controld/controld_timers.h void controld_start_timer(fsa_timer_t *timer); timer 42 daemons/controld/controld_timers.h gboolean is_timer_started(fsa_timer_t *timer); timer 44 daemons/controld/controld_timers.h const char *get_timer_desc(fsa_timer_t * timer); timer 27 daemons/controld/controld_transition.h extern gboolean stop_te_timer(crm_action_timer_t * timer); timer 90 include/crm/cib/internal.h struct timer_rec_s *timer; timer 51 include/pcmki/pcmki_transition.h crm_action_timer_t *timer; timer 188 lib/cib/cib_client.c if (blob->timer && blob->timer->ref > 0) { timer 189 lib/cib/cib_client.c g_source_remove(blob->timer->ref); timer 191 lib/cib/cib_client.c free(blob->timer); timer 573 lib/cib/cib_client.c struct timer_rec_s *timer = data; timer 575 lib/cib/cib_client.c crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); timer 576 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); timer 627 lib/cib/cib_client.c blob->timer = async_timer; timer 1419 lib/common/mainloop.c guint timer = 0; timer 1428 lib/common/mainloop.c timer = g_timeout_add(timer_ms, drain_timeout_cb, &timeout_popped); timer 1434 lib/common/mainloop.c if (!timeout_popped && (timer > 0)) { timer 1435 lib/common/mainloop.c g_source_remove(timer); timer 971 lib/common/remote.c int timer; timer 1017 lib/common/remote.c timer = g_timeout_add(interval, check_connect_finished, cb_data); timer 1019 lib/common/remote.c *timer_id = timer; timer 91 lib/fencing/st_client.c struct timer_rec_s *timer; timer 1239 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { timer 1240 lib/fencing/st_client.c g_source_remove(blob->timer->ref); timer 1242 lib/fencing/st_client.c free(blob->timer); timer 1363 lib/fencing/st_client.c struct timer_rec_s *timer = data; timer 1365 lib/fencing/st_client.c crm_err("Async call %d timed out after %dms", timer->call_id, timer->timeout); timer 1366 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); timer 1378 lib/fencing/st_client.c struct timer_rec_s *async_timer = callback->timer; timer 1386 lib/fencing/st_client.c callback->timer = async_timer; timer 245 lib/pacemaker/pcmk_trans_unpack.c if (action->timer && action->timer->source_id != 0) { timer 246 lib/pacemaker/pcmk_trans_unpack.c crm_warn("Cancelling timer for action %d (src=%d)", action->id, action->timer->source_id); timer 247 lib/pacemaker/pcmk_trans_unpack.c g_source_remove(action->timer->source_id); timer 253 lib/pacemaker/pcmk_trans_unpack.c free(action->timer);