lockref_put_return(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the lockref_put_return(9) page from the Kernel API Manual ✨ β€” it's literally about decrementing a reference count if possible. no cap. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

int lockref_put_return (struct lockref *lockref );

🌸 ARGUMENTS 🌸

  • lockref β€” pointer to lockref structure. that's the vibe: you hand it a pointer to a lockref structure and it does its thing. πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

so bestie, this function decrements the reference count and returns the new value. literally that. πŸ’–

plot twist though: if the lockref was dead or locked, it returns -1. 😭 that's the whole rule. no cap.

πŸ‘‘ SEE ALSO πŸ‘‘


okay bye bestie πŸ’… this lil page comes from ./lib, dated October 2026, and it's the lockref_put_return(9) manual page β€” periodt. πŸŒˆπŸŽ€

πŸ“¦ where this page comes from