find_first_waiter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… find_first_waiter(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual, we're literally in the 9 section (kernel land, no cap) and today's main character is find_first_waiter. yes it's a real function. yes it's iconic.


✨ NAME ✨

find_first_waiter β€” find the first gh that's waiting for the glock

like, the first one. the one at the front of the line. the VIP at the velvet rope πŸŽ€


🌸 SYNOPSIS 🌸

struct gfs2_holder * find_first_waiter (const struct gfs2_glock *gl );

ok so it takes a glock and hands you back a struct gfs2_holder *. simple. elegant. we love a signature that doesn't overstay its welcome πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gl β€” the glock. that's it. that's the whole argument. she's a const struct gfs2_glock * and she's on a mission 🫢

πŸ’œ SEE ALSO πŸ’œ

ok so this is the part where the manpage just drops the entire friend group on you 😭 like not me listing forty related functions, but they're all literally right there in the kernel file ./fs/gfs2/glock.c so. here's the whole squad, go say hi:

and they all live in ./fs/gfs2/glock.c btw. like one big glock-themed household πŸ πŸ’…


that's the whole page bestie, go find that first waiter, you got this πŸ§šπŸ’–

✧ο½₯゚ find_first_waiter(9) Β· Kernel API Manual Β· ./fs/gfs2 Β· October 2026 ο½₯゚✧

πŸ“¦ where this page comes from