timer 52 daemons/attrd/attrd_attributes.c a->timer = attrd_add_timer(a->id, a->timeout_ms, a); timer 81 daemons/attrd/attrd_attributes.c mainloop_timer_del(a->timer); timer 84 daemons/attrd/attrd_attributes.c a->timer = attrd_add_timer(attr, a->timeout_ms, a); timer 88 daemons/attrd/attrd_attributes.c a->timer = NULL; timer 61 daemons/attrd/attrd_cib.c if (a->timer && !a->timeout_ms) { timer 63 daemons/attrd/attrd_cib.c mainloop_timer_del(a->timer); timer 64 daemons/attrd/attrd_cib.c a->timer = NULL; timer 106 daemons/attrd/attrd_cib.c } else if (a->timer) { timer 108 daemons/attrd/attrd_cib.c if (!mainloop_timer_running(a->timer)) { timer 111 daemons/attrd/attrd_cib.c mainloop_timer_start(a->timer); timer 118 daemons/attrd/attrd_cib.c a->timer = attrd_add_timer(a->id, 2000, a); timer 119 daemons/attrd/attrd_cib.c mainloop_timer_start(a->timer); timer 225 daemons/attrd/attrd_cib.c } else if (mainloop_timer_running(a->timer)) { timer 230 daemons/attrd/attrd_cib.c mainloop_timer_stop(a->timer); timer 288 daemons/attrd/attrd_corosync.c if (a->timeout_ms && a->timer) { timer 290 daemons/attrd/attrd_corosync.c mainloop_timer_start(a->timer); timer 296 daemons/attrd/attrd_corosync.c if (is_force_write == 1 && a->timeout_ms && a->timer) { timer 383 daemons/attrd/attrd_corosync.c attrd_add_value_xml(sync, a, v, a->timeout_ms && a->timer); timer 267 daemons/attrd/attrd_utils.c mainloop_timer_del(a->timer); timer 127 daemons/attrd/pacemaker-attrd.h mainloop_timer_t *timer; timer 31 daemons/controld/controld_te_actions.c action->timer = g_timeout_add(action->timeout + graph->network_delay, timer 33 daemons/controld/controld_te_actions.c CRM_ASSERT(action->timer != 0); timer 23 daemons/controld/controld_te_utils.c if (action->timer != 0) { timer 25 daemons/controld/controld_te_utils.c g_source_remove(action->timer); timer 26 daemons/controld/controld_te_utils.c action->timer = 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 458 daemons/fenced/fenced_commands.c period_ms = pcmk__mainloop_timer_get_period(device->timer); timer 460 daemons/fenced/fenced_commands.c mainloop_timer_set_period(device->timer, 2 * period_ms); timer 733 daemons/fenced/fenced_commands.c if (device->timer) { timer 734 daemons/fenced/fenced_commands.c mainloop_timer_stop(device->timer); timer 735 daemons/fenced/fenced_commands.c mainloop_timer_del(device->timer); timer 1112 daemons/fenced/fenced_commands.c if (device->timer == NULL) { timer 1113 daemons/fenced/fenced_commands.c device->timer = mainloop_timer_add("get_agent_metadata", 10 * 1000, timer 1116 daemons/fenced/fenced_commands.c if (!mainloop_timer_running(device->timer)) { timer 1117 daemons/fenced/fenced_commands.c mainloop_timer_start(device->timer); timer 47 daemons/fenced/pacemaker-fenced.h mainloop_timer_t *timer; timer 107 include/crm/cib/internal.h struct timer_rec_s *timer; timer 60 include/crm/common/internal.h guint pcmk__mainloop_timer_get_period(const mainloop_timer_t *timer); timer 70 include/pcmki/pcmki_transition.h int timer; timer 201 lib/cib/cib_client.c if (blob->timer && blob->timer->ref > 0) { timer 202 lib/cib/cib_client.c g_source_remove(blob->timer->ref); timer 204 lib/cib/cib_client.c free(blob->timer); timer 614 lib/cib/cib_client.c struct timer_rec_s *timer = data; timer 616 lib/cib/cib_client.c crm_debug("Async call %d timed out after %ds", timer->call_id, timer->timeout); timer 617 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); timer 668 lib/cib/cib_client.c blob->timer = async_timer; timer 907 lib/common/mainloop.c pcmk__mainloop_timer_get_period(const mainloop_timer_t *timer) timer 909 lib/common/mainloop.c if (timer) { timer 910 lib/common/mainloop.c return timer->period_ms; timer 1449 lib/common/mainloop.c guint timer = 0; timer 1458 lib/common/mainloop.c timer = g_timeout_add(timer_ms, drain_timeout_cb, &timeout_popped); timer 1464 lib/common/mainloop.c if (!timeout_popped && (timer > 0)) { timer 1465 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 830 lib/fencing/st_client.c if (blob->timer && blob->timer->ref > 0) { timer 831 lib/fencing/st_client.c g_source_remove(blob->timer->ref); timer 833 lib/fencing/st_client.c free(blob->timer); timer 985 lib/fencing/st_client.c struct timer_rec_s *timer = data; timer 987 lib/fencing/st_client.c crm_err("Async call %d timed out after %dms", timer->call_id, timer->timeout); timer 988 lib/fencing/st_client.c invoke_registered_callbacks(timer->stonith, NULL, timer->call_id); timer 1000 lib/fencing/st_client.c struct timer_rec_s *async_timer = callback->timer; timer 1008 lib/fencing/st_client.c callback->timer = async_timer; timer 757 lib/pacemaker/pcmk_graph_consumer.c if (action->timer != 0) { timer 759 lib/pacemaker/pcmk_graph_consumer.c g_source_remove(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))