nfp_cpp_mutex_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfp_cpp_mutex_lock(9)

okay bestie, welcome to the Kernel API Manual ✨ this one's all about nfp_cpp_mutex_lock β€” like, the whole page, that's the vibe πŸŽ€


🌸 NAME 🌸

nfp_cpp_mutex_lock β€” lock a mutex handle, using the NFP MU Atomic Engine πŸ”₯

no cap, that's literally the whole job. it locks the thing. using the atomic engine. iconic πŸ’…


✨ SYNOPSIS ✨

int nfp_cpp_mutex_lock (struct nfp_cpp_mutex *mutex );

that's the whole signature, bestie 🫢 returns an int, takes one pointer, done.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mutex β€” the NFP CPP Mutex handle πŸ’– that's it, that's the argument. it's the handle you're locking. main character energy fr fr πŸ‘‘

⭐ RETURN ⭐

  • 0 on success πŸŽ‰ slay
  • -errno on failure 😭 so like, negative errno value. that's the whole story.

πŸ‘‘ SEE ALSO πŸ‘‘

like, go read all of those too, the whole friend group is important πŸŒˆπŸ’œ


ngl this page is short but it ate. lock your mutexes, know your return values, periodt. πŸ“

mwah πŸ’‹ this little love letter comes from ./drivers/net/ethernet/netrono... and it's dated October 2026 β€” see you in the next release, bestie! 🧚✨

πŸ“¦ where this page comes from