alarmtimer_do_nsleep(9)
π alarmtimer_do_nsleep(9) π
straight from the Kernel API Manual, bestie π«Ά
β¨ NAME β¨
alarmtimer_do_nsleep β the internal alarmtimer nsleep implementation π
β¨ SYNOPSIS β¨
int alarmtimer_do_nsleep (struct alarm *alarm , ktime_t absexp , enum
alarmtimer_type type );
β¨ ARGUMENTS β¨
alarmβ a pointer to the alarmtimer, like literally the main character of this whole call πabsexpβ the absolute expiration time, aka when this baby is supposed to go off β°typeβ the alarm type, and it's giving eitherBOOTTIMEorREALTIMEπ¦
β¨ DESCRIPTION β¨
Okay so here's the tea: this sets the alarm timer and then sleeps until it is fired or interrupted. That's the whole vibe. π΄β¨
β¨ SEE ALSO β¨
Kernel file ./kernel/time/alarmtimer.c, plus all these icons:
struct alarm_base(9)alarmtimer_get_rtcdev(9)alarmtimer_enqueue(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)alarm_timer_nsleep_restart(9)alarm_timer_nsleep(9)alarmtimer_init(9)
okay that's the whole page, no cap π this icon lives in ./kernel/time, dated October 2026, and it's filed under alarmtimer_do_nsleep(9) β periodt. π
π
π¦ 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