Home | History | Annotate | Download | only in src

Lines Matching refs:alarm_t

32 struct alarm_t {
67 alarm_t *alarm_new(void) {
75 alarm_t *ret = calloc(1, sizeof(alarm_t));
104 void alarm_free(alarm_t *alarm) {
114 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data) {
137 if (next == list_end(alarms) || ((alarm_t *)list_node(next))->deadline >= alarm->deadline) {
150 void alarm_cancel(alarm_t *alarm) {
203 alarm_t *alarm = (alarm_t *)ptr;
248 alarm_t *next = list_front(alarms);