__timekeepin...ct_sleeptime(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so welcome to the Kernel API Manual, bestie πŸ’– β€” this page is all about __timekeeping_inject_sleeptime, aka the internal function to add sleep interval. she’s not the public-facing main character, she’s the internal bestie doing the suspend-time math. periodt.

✨ SYNOPSIS ✨

void __timekeeping_inject_sleeptime (struct timekeeper *tk , const
       struct timespec64 *delta );

πŸŽ€ ARGUMENTS πŸŽ€

  • tk β€” pointer to the timekeeper that’s getting updated. like, this is the clock bestie receiving the glow-up πŸ’…
  • delta β€” pointer to the delta value, in timespec64 format. this is the offset cutie that gets added in.

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this function takes a timespec offset that measures a suspend interval, and properly adds the sleep offset to the timekeeping variables. no cap, that’s the whole vibe: suspend sleep time goes in, timekeeping variables get the correct offset. ⭐

πŸ’œ SEE ALSO πŸ’œ

the kernel file is ./kernel/time/timekeeping.c, and here’s the whole cross-reference group chat πŸ’¬ β€” yes, every single one, because we don’t leave the homies out:


this page is from ./kernel/time, dated October 2026, and its footer manual tag is __timekeepin...ct_sleeptime(9) β€” mwah πŸ’‹ stay cozy, bestie 🫢

πŸ“¦ where this page comes from