Searched refs:alarm (Results 1 – 4 of 4) sorted by relevance
159 static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_enqueue() argument161 if (alarm->state & ALARMTIMER_STATE_ENQUEUED) in alarmtimer_enqueue()162 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()164 timerqueue_add(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()165 alarm->state |= ALARMTIMER_STATE_ENQUEUED; in alarmtimer_enqueue()177 static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_dequeue() argument179 if (!(alarm->state & ALARMTIMER_STATE_ENQUEUED)) in alarmtimer_dequeue()182 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_dequeue()183 alarm->state &= ~ALARMTIMER_STATE_ENQUEUED; in alarmtimer_dequeue()198 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local[all …]
306 SYSCALL_DEFINE1(alarm, unsigned int, seconds) in SYSCALL_DEFINE1() argument
213 COND_SYSCALL(alarm);
217 make it wake up a few seconds later using an RTC wakeup alarm.