time_is_before_eq_jiffies(9)
π time_is_before_eq_jiffies(9) π
okay so this is a page straight out of the Kernel API Manual, and bestie, it's a tiny little guy but it matters. Like, this is the kind of one-liner that keeps the whole kernel from being messy. main character energy in a single macro, fr fr β¨
πΈ NAME πΈ
time_is_before_eq_jiffies β returns true if a is before or equal to jiffies π
β¨ SYNOPSIS β¨
time_is_before_eq_jiffies (a );
π ARGUMENTS π
aβ the time (anunsigned long, no cap) that you're comparing against jiffies π«Ά
π¦ RETURN π¦
it gives you true if the time a is before, or literally the exact same as, jiffies β otherwise you get false. that's it, that's the whole vibe check π
β SEE ALSO β
sooo many siblings, it's giving big family reunion π
- the kernel file
./include/linux/jiffies.hβ¨ get_jiffies_64(9)General information about time_* inlines(9)β yes that's literally how it's written, go read it, it's the lore πtime_after(9)time_before(9)time_after_eq(9)time_before_eq(9)time_in_range(9)time_in_range_open(9)time_after64(9)time_before64(9)time_after_eq64(9)time_before_eq64(9)time_in_range64(9)time_is_before_jiffies(9)time_is_before_jiffies64(9)time_is_after_jiffies(9)time_is_after_jiffies64(9)time_is_before_eq_jiffies64(9)time_is_after_eq_jiffies(9)time_is_after_eq_jiffies64(9)jiffies_to_msecs(9)jiffies_to_usecs(9)jiffies_to_nsecs(9)msecs_to_jiffies(9)secs_to_jiffies(9)usecs_to_jiffies(9)
bestie please remember these comparisons only make sense when your time values are within a half-period of each other β that's the classic jiffies wraparound situation, so don't come for me if you compare wildly-far-apart times and get weird results π
and that's the whole page!! sourced from ./include/linux, dated October 2026, slay ππ§ββοΈ see u in the kernel, mwah π
π¦ 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