alarmtimer_enqueue(9)
β¨ alarmtimer_enqueue(9) β¨
okay bestie, welcome to the alarmtimer_enqueue page from the Kernel API Manual π this one's a lil function with a big job and honestly it's giving "small but mighty" energy.
πΈ NAME πΈ
alarmtimer_enqueue β adds an alarm timer to an alarm_base timerqueue π
π¦ SYNOPSIS π¦
void alarmtimer_enqueue (struct alarm_base *base , struct alarm *alarm
);
like, that's it. that's the whole signature. no cap. β¨
π ARGUMENTS π
baseβ pointer to the base where the timer is being run π«Άalarmβ pointer to the alarm being enqueued. literally the star of the show π
π₯ DESCRIPTION π₯
so what does it actually do? it adds alarm to an alarm_base timerqueue. iconic behaviour, honestly. π
β οΈ must hold base->lock when calling. this is not a vibe suggestion, bestie β it's required. do not skip the lock. π
π SEE ALSO π
- Kernel file
./kernel/time/alarmtimer.c struct alarm_base(9)alarmtimer_get_rtcdev(9)alarmtimer_dequeue(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)
that's a whole friend group right there, fr fr π§
and that's the tea, bestie π this page lives in ./kernel/time and it's dated October 2026, straight from the Kernel API Manual β go forth and enqueue responsibly πβ¨
π¦ 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