tick_switch_to_oneshot(9)
π tick_switch_to_oneshot(9) π
okay so bestie, this one's straight from the Kernel API Manual and the vibe is simple: tick_switch_to_oneshot switches to oneshot mode. that's the whole plot, no cap π
β¨ NAME β¨
tick_switch_to_oneshot β switch to oneshot mode π¦
πΈ SYNOPSIS πΈ
int tick_switch_to_oneshot (void (*handler)(struct clock_event_device *)
);
π ARGUMENTS π
handlerβ function to call when an event occurs on the tick device. that's the arg, she's giving callback energy π«Ά
π RETURN π
0β success, slay β-EINVALβ if the tick device is not present, not functional, or does not support oneshot mode. yeah, that's the "bestie no" path π
π₯ SEE ALSO π₯
- Kernel file
./kernel/time/tick-oneshot.c tick_program_event(9)tick_resume_oneshot(9)tick_setup_oneshot(9)tick_oneshot_mode_active(9)tick_init_highres(9)
that's the whole page, periodt π source/version is ./kernel/time, dated October 2026 β go be iconic with your oneshot mode π§π
π¦ 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