timer 100 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 209 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, a->timeout_ms, FALSE, attribute_timer_cb, a); timer 804 daemons/attrd/attrd_commands.c add_attribute_value_xml(sync, a, v, a->timeout_ms && a->timer); timer 894 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 897 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(attr, a->timeout_ms, FALSE, timer 902 daemons/attrd/attrd_commands.c a->timer = NULL; timer 960 daemons/attrd/attrd_commands.c if (a->timeout_ms && a->timer) { timer 962 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 968 daemons/attrd/attrd_commands.c if (is_force_write && a->timeout_ms && a->timer) { timer 1097 daemons/attrd/attrd_commands.c if (a->timer && !a->timeout_ms) { timer 1099 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 1100 daemons/attrd/attrd_commands.c a->timer = NULL; timer 1142 daemons/attrd/attrd_commands.c } else if (a->timer) { timer 1144 daemons/attrd/attrd_commands.c if (!mainloop_timer_running(a->timer)) { timer 1147 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1154 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, 2000, FALSE, timer 1156 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1285 daemons/attrd/attrd_commands.c } else if (mainloop_timer_running(a->timer)) { timer 1290 daemons/attrd/attrd_commands.c mainloop_timer_stop(a->timer); timer 98 daemons/attrd/pacemaker-attrd.h mainloop_timer_t *timer; timer 748 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 657 daemons/controld/controld_te_callbacks.c crm_action_timer_t *timer = NULL; timer 664 daemons/controld/controld_te_callbacks.c timer = (crm_action_timer_t *) data; timer 665 daemons/controld/controld_te_callbacks.c stop_te_timer(timer); timer 667 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); timer 669 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); timer 670 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); timer 671 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE); timer 677 daemons/controld/controld_te_callbacks.c (via_node? via_node : "controller"), timer->timeout); timer 685 daemons/controld/controld_te_callbacks.c timer->timeout + transition_graph->network_delay); timer 686 daemons/controld/controld_te_callbacks.c print_action(LOG_ERR, "Aborting transition, action lost: ", timer->action); timer 688 daemons/controld/controld_te_callbacks.c timer->action->failed = TRUE; timer 689 daemons/controld/controld_te_callbacks.c te_action_confirmed(timer->action, transition_graph); timer 693 daemons/controld/controld_te_callbacks.c if ((timer->action->type == action_type_rsc) timer 695 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 282 daemons/controld/controld_timers.c is_timer_started(fsa_timer_t * timer) timer 284 daemons/controld/controld_timers.c return (timer->period_ms > 0) && (timer->source_id != 0); timer 288 daemons/controld/controld_timers.c controld_start_timer(fsa_timer_t *timer) timer 290 daemons/controld/controld_timers.c if (timer->source_id == 0 && timer->period_ms > 0) { timer 291 daemons/controld/controld_timers.c timer->source_id = g_timeout_add(timer->period_ms, timer->callback, (void *)timer); timer 292 daemons/controld/controld_timers.c CRM_ASSERT(timer->source_id != 0); timer 294 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 295 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 298 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 299 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 333 daemons/controld/controld_timers.c controld_stop_timer(fsa_timer_t *timer) timer 335 daemons/controld/controld_timers.c CRM_CHECK(timer != NULL, return FALSE); timer 337 daemons/controld/controld_timers.c if (timer->source_id != 0) { timer 339 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 340 daemons/controld/controld_timers.c timer->period_ms, timer->source_id); timer 341 daemons/controld/controld_timers.c g_source_remove(timer->source_id); timer 342 daemons/controld/controld_timers.c timer->source_id = 0; timer 346 daemons/controld/controld_timers.c get_timer_desc(timer), fsa_input2string(timer->fsa_input), timer 347 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 338 daemons/fenced/fenced_commands.c period_ms = pcmk__mainloop_timer_get_period(device->timer); timer 340 daemons/fenced/fenced_commands.c mainloop_timer_set_period(device->timer, 2 * period_ms); timer 595 daemons/fenced/fenced_commands.c if (device->timer) { timer 596 daemons/fenced/fenced_commands.c mainloop_timer_stop(device->timer); timer 597 daemons/fenced/fenced_commands.c mainloop_timer_del(device->timer); timer 985 daemons/fenced/fenced_commands.c if (device->timer == NULL) { timer 986 daemons/fenced/fenced_commands.c device->timer = mainloop_timer_add("get_agent_metadata", 10 * 1000, timer 989 daemons/fenced/fenced_commands.c if (!mainloop_timer_running(device->timer)) { timer 990 daemons/fenced/fenced_commands.c mainloop_timer_start(device->timer); timer 44 daemons/fenced/pacemaker-fenced.h mainloop_timer_t *timer; timer 91 include/crm/cib/internal.h struct timer_rec_s *timer; timer 111 include/crm/common/internal.h guint pcmk__mainloop_timer_get_period(mainloop_timer_t *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 587 lib/cib/cib_client.c struct timer_rec_s *timer = data; timer 589 lib/cib/cib_client.c crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); timer 590 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); timer 641 lib/cib/cib_client.c blob->timer = async_timer; timer 926 lib/common/mainloop.c pcmk__mainloop_timer_get_period(mainloop_timer_t *timer) timer 928 lib/common/mainloop.c if (timer) { timer 929 lib/common/mainloop.c return timer->period_ms; timer 1470 lib/common/mainloop.c guint timer = 0; timer 1479 lib/common/mainloop.c timer = g_timeout_add(timer_ms, drain_timeout_cb, &timeout_popped); timer 1485 lib/common/mainloop.c if (!timeout_popped && (timer > 0)) { timer 1486 lib/common/mainloop.c g_source_remove(timer); timer 958 lib/common/remote.c int timer; timer 1004 lib/common/remote.c timer = g_timeout_add(interval, check_connect_finished, cb_data); timer 1006 lib/common/remote.c *timer_id = timer; timer 92 lib/fencing/st_client.c struct timer_rec_s *timer; timer 1232 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { timer 1233 lib/fencing/st_client.c g_source_remove(blob->timer->ref); timer 1235 lib/fencing/st_client.c free(blob->timer); timer 1354 lib/fencing/st_client.c struct timer_rec_s *timer = data; timer 1356 lib/fencing/st_client.c crm_err("Async call %d timed out after %dms", timer->call_id, timer->timeout); timer 1357 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); timer 1369 lib/fencing/st_client.c struct timer_rec_s *async_timer = callback->timer; timer 1377 lib/fencing/st_client.c callback->timer = async_timer; timer 255 lib/pacemaker/pcmk_trans_unpack.c if (action->timer && action->timer->source_id != 0) { timer 256 lib/pacemaker/pcmk_trans_unpack.c crm_warn("Cancelling timer for action %d (src=%d)", action->id, action->timer->source_id); timer 257 lib/pacemaker/pcmk_trans_unpack.c g_source_remove(action->timer->source_id); timer 263 lib/pacemaker/pcmk_trans_unpack.c free(action->timer);