Searched refs:alarm (Results 1 – 3 of 3) sorted by relevance
138 static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_enqueue() argument140 if (alarm->state & ALARMTIMER_STATE_ENQUEUED) in alarmtimer_enqueue()141 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()143 timerqueue_add(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()144 alarm->state |= ALARMTIMER_STATE_ENQUEUED; in alarmtimer_enqueue()156 static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_dequeue() argument158 if (!(alarm->state & ALARMTIMER_STATE_ENQUEUED)) in alarmtimer_dequeue()161 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_dequeue()162 alarm->state &= ~ALARMTIMER_STATE_ENQUEUED; in alarmtimer_dequeue()177 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local[all …]
180 make it wake up a few seconds later using an RTC wakeup alarm.
1392 SYSCALL_DEFINE1(alarm, unsigned int, seconds) in SYSCALL_DEFINE1() argument