alarmtimer_dequeue(9)
π alarmtimer_dequeue β kernel API manual, but make it cute
okay so bestie, quick vibe check: this page is alarmtimer_dequeue(9) from the Kernel API Manual, and it's genuinely short and sweet. no cap, we're in and out. π«Ά
β¨ NAME β¨
alarmtimer_dequeue β Removes an alarm timer from an alarm_base timerqueue
like, it takes the alarm out of the queue. that's the whole plot. π
πΈ SYNOPSIS πΈ
void alarmtimer_dequeue (struct alarm_base *base , struct alarm *alarm );
it returns void β nothing comes back, it just does the thing and dips. icon behavior honestly. π
π¦ ARGUMENTS π¦
baseβ pointer to the base where the timer is running. this is the timerqueue-having one, iykyk.alarmβ pointer to alarm being removed. yes, this alarm. the one getting dequeued. main character of the operation tbh.
β DESCRIPTION β
Removes alarm to a alarm_base timerqueue. β¨
π¨ big important one, bestie: you must hold base->lock when calling this. like, not optional. hold the lock. do not skip the lock. this is the whole caveat and it is not a vibe to ignore. π
π₯ SEE ALSO π₯
Kernel file ./kernel/time/alarmtimer.c, plus the whole extended universe:
struct alarm_base(9)alarmtimer_get_rtcdev(9)alarmtimer_enqueue(9)alarmtimer_fired(9)alarmtimer_suspend(9)alarm_init(9)alarm_start_timer(9)alarm_try_to_cancel(9)alarm_cancel(9)clock2alarm(9)alarm_handle_timer(9)alarm_timer_rearm(9)alarm_timer_forward(9)alarm_timer_remaining(9)alarm_timer_try_to_cancel(9)alarm_timer_wait_running(9)alarm_timer_arm(9)alarm_clock_getres(9)alarm_clock_get_timespec(9)alarm_clock_get_ktime(9)alarm_timer_create(9)alarmtimer_nsleep_wakeup(9)alarmtimer_do_nsleep(9)alarm_timer_nsleep_restart(9)alarm_timer_nsleep(9)alarmtimer_init(9)
literally the entire friend group. go read alarmtimer_enqueue(9) next, it's the β¨ opposite energy β¨ and they come as a set. π
okay that's the page!! thanks for coming to my ted talk, ily, and remember: hold the lock. π§ source lives in ./kernel/time, this one's dated October 2026, and yes that's the whole sign-off bestie β mwah πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms