lockref_get_not_dead(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lockref_get_not_dead(9) β€” Kernel API Manual energy ✨

okay bestie, this one is from the Kernel API Manual, and it's literally about checking whether a lockref is dead before bumping its count. Iconic little safety vibe. πŸŽ€


🌸 NAME 🌸

lockref_get_not_dead β€” increments count unless the ref is dead πŸ’€βž‘οΈπŸ’–

✨ SYNOPSIS ✨

bool lockref_get_not_dead (struct lockref *lockref );

πŸŽ€ ARGUMENTS πŸŽ€

  • lockref β€” pointer to lockref structure 🫢

πŸ”₯ RETURN πŸ”₯

Returns 1 if count updated successfully, or 0 if lockref was dead. no cap, that's the whole vibe check πŸ”₯

🌈 SEE ALSO 🌈


mwah πŸ’‹ source/version is ./lib, date is October 2026, and the page is lockref_get_not_dead(9) β€” periodt. 🫢✨

πŸ“¦ where this page comes from