Searched refs:alarms (Results 1 – 2 of 2) sorted by relevance
109 static list_t *alarms; variable160 if (!alarms && !lazy_initialize()) { in alarm_new_internal()240 assert(alarms != NULL); in alarm_set_internal()259 assert(alarms != NULL); in alarm_cancel()275 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel_internal()291 if ((alarms == NULL) || (alarm == NULL)) in alarm_is_scheduled()298 if (!alarms) in alarm_cleanup()318 list_free(alarms); in alarm_cleanup()319 alarms = NULL; in alarm_cleanup()326 assert(alarms == NULL); in lazy_initialize()[all …]
277 alarm_t *alarms[100]; in TEST_F() local282 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()286 alarm_set(alarms[i], 100, ordered_cb, INT_TO_PTR(i)); in TEST_F()297 alarm_free(alarms[i]); in TEST_F()305 alarm_t *alarms[100]; in TEST_F() local315 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()319 alarm_set_on_queue(alarms[i], 100, ordered_cb, INT_TO_PTR(i), queue); in TEST_F()330 alarm_free(alarms[i]); in TEST_F()342 alarm_t *alarms[100]; in TEST_F() local353 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()[all …]