timekeeping_..._sleeptime64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to timekeeping_..._sleeptime64(9) from the Kernel API Manual πŸ’– this little kernel hook is all about injecting suspend time, and we are keeping every detail, no cap ✨

🌸 NAME 🌸

timekeeping_inject_sleeptime64 β€” adds suspend interval to timeekeeping values. (and yes, timeekeeping is exactly the spelling in the original, we do not correct the lore πŸ’…)

✨ SYNOPSIS ✨

void timekeeping_inject_sleeptime64 (const struct timespec64 *delta );

πŸŽ€ ARGUMENTS πŸŽ€

  • delta β€” pointer to a timespec64 delta value. that's the only argument and she is serving exactly what she needs to serve 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This hook is for architectures that cannot support read_persistent_clock64 because their RTC/persistent clock is only accessible when irqs are enabled. and also don't have an effective nonstop clocksource. (okay the lowercase β€œand also” is right there in the original vibe, we keep it 😭)

bestie, this function should only be called by rtc_resume. it allows a suspend offset to be injected into the timekeeping values. no random callers, periodt πŸ’€

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./kernel/time/timekeeping.c, plus the whole reference squad:


mwah πŸ’‹ that's the whole page β€” source/version vibes from ./kernel/time, dated October 2026, and the page is timekeeping_..._sleeptime64(9). periodt, bestie, go inject that suspend interval responsibly 🫢✨

πŸ“¦ where this page comes from