time_before_eq64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… time_before_eq64(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes we're literally in kernel land today, get comfy πŸŽ€


✨ NAME ✨

time_before_eq64 β€” returns true if the time a is before or the same as time b. that's it. that's the whole vibe check πŸ’–


🌸 SYNOPSIS 🌸

time_before_eq64 (a , b );

look at her. two args, zero drama, doing exactly what she says on the tin ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • a β€” first comparable, typed as __u64 πŸ’…
  • b β€” second comparable, also typed as __u64 🫢

both of them are __u64, no cap. don't be out here passing her anything else 😭


πŸ”₯ DESCRIPTION πŸ”₯

okay so this is the one you must use when you're working with jiffies_64 β€” like, specifically "i.e. return value of get_jiffies_64". that's the whole rule. this function is literally built for the 64-bit jiffies girlies πŸ’€

so if you're holding a jiffies_64 value and you're like "hmm is this before or equal to that other one", she's your girl πŸ‘‘


πŸ‘‘ RETURN πŸ‘‘

true if time a is before or the same as time b, otherwise false. so straightforward. we love a binary queen 🌈

ngl, if you were hoping for a third option β€” there isn't one. it's true or false, periodt πŸ’…

πŸ’œ SEE ALSO πŸ’œ

okay this list is long and she ate, so buckle up bestie πŸ“

kernel file ./include/linux/jiffies.h

then all of these iconic siblings:

like, the whole friend group showed up fr fr πŸ§šπŸ’–


πŸŽ€ cute little sign-off: this page lives in the kernel file ./include/linux, dated October 2026. go read the source bestie, it's giving main character energy ⭐

that's the page!! ily, go compare your __u64s safely πŸ«ΆπŸ’…πŸ”₯

πŸ“¦ where this page comes from