Searched refs:alarms (Results 1 – 1 of 1) sorted by relevance
67 static list_t *alarms; variable86 if (!alarms && !lazy_initialize()) in alarm_new()152 assert(alarms != NULL); in alarm_set_internal()170 assert(alarms != NULL); in alarm_cancel()175 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel()177 list_remove(alarms, alarm); in alarm_cancel()194 if (!alarms) in alarm_cleanup()205 list_free(alarms); in alarm_cleanup()206 alarms = NULL; in alarm_cleanup()212 assert(alarms == NULL); in lazy_initialize()[all …]