alarm_timer_nsleep_restart(9)
π alarm_timer_nsleep_restart(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for alarm_timer_nsleep_restart, and honestly? it's a tiny little function with main character energy. let's get into it π
β¨ SYNOPSIS β¨
long alarm_timer_nsleep_restart (struct restart_block *restart );
that's it. that's the whole signature. short king behavior, no cap π
πΈ ARGUMENTS πΈ
restartβ a ptr to the restart block. literally just a pointer. that's the entire vibe of this argument, she's a pointer to the restart block and she knows it π
π« DESCRIPTION π«
Handles restarted clock_nanosleep calls. that's the whole description, and ngl she ate with the brevity π₯
like, for real β when a clock_nanosleep gets restarted, this is the function that picks it back up. no drama, no extra lore, just a restart handler doing restart handler things β¨
π SEE ALSO π
okay this is where it gets iconic β the supporting cast is HUGE π«Ά all of these live in the Kernel file ./kernel/time/alarmtimer.c:
- 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)alarmtimer_do_nsleep(9)alarm_timer_nsleep(9)alarmtimer_init(9)
like the whole friend group showed up to the function's birthday party ππ
bestie reminder: everything above is the real, exact list β if you're grepping for a sibling function, it's in there. don't skip her π§
mwah π that's the page. sourced from ./kernel/time, dated October 2026, and we're out β stay slaying those restart blocks, iykyk π
β¨
π¦ 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