__usecs_to_jiffies(9)
π
__usecs_to_jiffies β the manual page, but make it make sense
okay bestie, so this is a page out of the Kernel API Manual β section 9, kernel territory, very main character energy. The function is called __usecs_to_jiffies and yes, those two underscores up front are part of the name, do not come for them π
β¨ NAME β¨
__usecs_to_jiffies β convert microseconds to jiffies π
That's it. That's the whole job. Glow-up complete.
π¦ SYNOPSIS π¦
unsigned long __usecs_to_jiffies (const unsigned int u );
Look at that signature. unsigned long coming back out, const unsigned int going in. Respect the types, they're literally doing so much work here π«Ά
πΈ ARGUMENTS πΈ
uβ the page describes this one as time in milliseconds. Bestie, I know, I know π the function is out here calling itselfusecsand the argument label says milliseconds β that's genuinely what this page says, so I'm passing it to you exactly as written. No cap, no edits, no "fixing". Ship it as documented. π
β RETURN β
The jiffies value. That's the whole vibe check result. β¨
π SEE ALSO π
This list is long, like, iconic levels of long, and every single one of these is going in because we do not leave our sisters behind π
- Kernel file
./kernel/time/time.c
and then, in no particular order because I'm listing them all, periodt:
jiffies_to_msecs(9)jiffies_to_usecs(9)mktime64(9)set_normalized_timespec64(9)ns_to_timespec64(9)__msecs_to_jiffies(9)timespec64_to_jiffies(9)jiffies_to_timespec64(9)jiffies_to_clock_t(9)clock_t_to_jiffies(9)jiffies_64_to_clock_t(9)nsec_to_clock_t(9)jiffies64_to_nsecs(9)jiffies64_to_msecs(9)nsecs_to_jiffies64(9)nsecs_to_jiffies(9)timespec64_add_safe(9)get_timespec64(9)put_timespec64(9)get_old_timespec32(9)put_old_timespec32(9)get_itimerspec64(9)put_itimerspec64(9)get_old_itimerspec32(9)put_old_itimerspec32(9)
like okay time-conversion family reunion, we love to see it π
ngl bestie, there are no OPTIONS, no ENVIRONMENT, no EXIT STATUS, no warnings and no bugs listed on this page. It's a short one. Read it, use it, move on π
π that's the whole page, mwah, go convert some microseconds, iykyk π
cute little sign-off: this one lives in the source tree at ./kernel/time, it's dated October 2026, and it goes out under the title __usecs_to_jiffies(9) β slay π
β¨
π¦ 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