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 802 daemons/attrd/attrd_commands.c add_attribute_value_xml(sync, a, v, a->timeout_ms && a->timer); timer 892 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 895 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(attr, a->timeout_ms, FALSE, timer 900 daemons/attrd/attrd_commands.c a->timer = NULL; timer 957 daemons/attrd/attrd_commands.c if (a->timeout_ms && a->timer) { timer 959 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 965 daemons/attrd/attrd_commands.c if (is_force_write && a->timeout_ms && a->timer) { timer 1094 daemons/attrd/attrd_commands.c if (a->timer && !a->timeout_ms) { timer 1096 daemons/attrd/attrd_commands.c mainloop_timer_del(a->timer); timer 1097 daemons/attrd/attrd_commands.c a->timer = NULL; timer 1139 daemons/attrd/attrd_commands.c } else if (a->timer) { timer 1141 daemons/attrd/attrd_commands.c if (!mainloop_timer_running(a->timer)) { timer 1144 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1151 daemons/attrd/attrd_commands.c a->timer = mainloop_timer_add(a->id, 2000, FALSE, timer 1153 daemons/attrd/attrd_commands.c mainloop_timer_start(a->timer); timer 1279 daemons/attrd/attrd_commands.c } else if (mainloop_timer_running(a->timer)) { timer 1284 daemons/attrd/attrd_commands.c mainloop_timer_stop(a->timer); timer 98 daemons/attrd/pacemaker-attrd.h mainloop_timer_t *timer; timer 797 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 633 daemons/controld/controld_te_callbacks.c crm_action_timer_t *timer = NULL; timer 640 daemons/controld/controld_te_callbacks.c timer = (crm_action_timer_t *) data; timer 641 daemons/controld/controld_te_callbacks.c stop_te_timer(timer); timer 643 daemons/controld/controld_te_callbacks.c CRM_CHECK(timer->action != NULL, return FALSE); timer 645 daemons/controld/controld_te_callbacks.c task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK); timer 646 daemons/controld/controld_te_callbacks.c on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET); timer 647 daemons/controld/controld_te_callbacks.c via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE); timer 653 daemons/controld/controld_te_callbacks.c (via_node? via_node : "controller"), timer->timeout); timer 661 daemons/controld/controld_te_callbacks.c timer->timeout + transition_graph->network_delay); timer 662 daemons/controld/controld_te_callbacks.c pcmk__log_graph_action(LOG_ERR, timer->action); timer 664 daemons/controld/controld_te_callbacks.c crm__set_graph_action_flags(timer->action, pcmk__graph_action_failed); timer 666 daemons/controld/controld_te_callbacks.c te_action_confirmed(timer->action, transition_graph); timer 670 daemons/controld/controld_te_callbacks.c if ((timer->action->type == action_type_rsc) timer 672 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 370 daemons/fenced/fenced_commands.c period_ms = pcmk__mainloop_timer_get_period(device->timer); timer 372 daemons/fenced/fenced_commands.c mainloop_timer_set_period(device->timer, 2 * period_ms); timer 648 daemons/fenced/fenced_commands.c if (device->timer) { timer 649 daemons/fenced/fenced_commands.c mainloop_timer_stop(device->timer); timer 650 daemons/fenced/fenced_commands.c mainloop_timer_del(device->timer); timer 1045 daemons/fenced/fenced_commands.c if (device->timer == NULL) { timer 1046 daemons/fenced/fenced_commands.c device->timer = mainloop_timer_add("get_agent_metadata", 10 * 1000, timer 1049 daemons/fenced/fenced_commands.c if (!mainloop_timer_running(device->timer)) { timer 1050 daemons/fenced/fenced_commands.c mainloop_timer_start(device->timer); timer 45 daemons/fenced/pacemaker-fenced.h mainloop_timer_t *timer; timer 99 include/crm/cib/internal.h struct timer_rec_s *timer; timer 121 include/crm/common/internal.h guint pcmk__mainloop_timer_get_period(mainloop_timer_t *timer); timer 79 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 596 lib/cib/cib_client.c struct timer_rec_s *timer = data; timer 598 lib/cib/cib_client.c crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); timer 599 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); timer 650 lib/cib/cib_client.c blob->timer = async_timer; timer 927 lib/common/mainloop.c pcmk__mainloop_timer_get_period(mainloop_timer_t *timer) timer 929 lib/common/mainloop.c if (timer) { timer 930 lib/common/mainloop.c return timer->period_ms; timer 1468 lib/common/mainloop.c guint timer = 0; timer 1477 lib/common/mainloop.c timer = g_timeout_add(timer_ms, drain_timeout_cb, &timeout_popped); timer 1483 lib/common/mainloop.c if (!timeout_popped && (timer > 0)) { timer 1484 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 66 lib/fencing/st_client.c struct timer_rec_s *timer; timer 816 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { timer 817 lib/fencing/st_client.c g_source_remove(blob->timer->ref); timer 819 lib/fencing/st_client.c free(blob->timer); timer 971 lib/fencing/st_client.c struct timer_rec_s *timer = data; timer 973 lib/fencing/st_client.c crm_err("Async call %d timed out after %dms", timer->call_id, timer->timeout); timer 974 lib/fencing/st_client.c invoke_registered_callbacks(timer->stonith, NULL, timer->call_id); timer 986 lib/fencing/st_client.c struct timer_rec_s *async_timer = callback->timer; timer 994 lib/fencing/st_client.c callback->timer = async_timer; timer 750 lib/pacemaker/pcmk_graph_consumer.c if ((action->timer != NULL) && (action->timer->source_id != 0)) { timer 752 lib/pacemaker/pcmk_graph_consumer.c g_source_remove(action->timer->source_id); timer 758 lib/pacemaker/pcmk_graph_consumer.c free(action->timer); timer 134 maint/gnulib/lib/timevar.c timevar_accumulate (struct timevar_time_def *timer, timer 138 maint/gnulib/lib/timevar.c timer->user += stop->user - start->user; timer 139 maint/gnulib/lib/timevar.c timer->sys += stop->sys - start->sys; timer 140 maint/gnulib/lib/timevar.c timer->wall += stop->wall - start->wall; timer 68 maint/gnulib/tests/test-rwlock1.c static gl_thread_t timer; timer 102 maint/gnulib/tests/test-rwlock1.c if (glthread_create (&timer, timer_func, NULL))