nfp_cpp_mutex_unlock(9)
π nfp_cpp_mutex_unlock(9) β from the Kernel API Manual, bestie
okay so real talk, this one is a tiny little icon in the nfp world and it deserves its flowers. it's a kernel API page, so it lives in the Kernel API Manual, and the star of the show is nfp_cpp_mutex_unlock β the function that lets go of a mutex handle using the MU Atomic Engine. yes, the actual hardware-flavored atomic engine. no cap, that's the whole vibe.
β¨ NAME β¨
nfp_cpp_mutex_unlock β unlock a mutex handle, using the MU Atomic Engine π«Ά
like, you took the lock, now be a polite main character and give it back.
πΈ SYNOPSIS πΈ
int nfp_cpp_mutex_unlock (struct nfp_cpp_mutex *mutex );
(yes we're copying it exactly, character for character, don't come for me π )
π ARGUMENTS π
mutexβ the NFP CPP Mutex handle. that's it, that's the whole argument. she's the handle you're unlocking, and honestly she ate.
β RETURN β
0on success β slay, the unlock worked π-errnoon failure β something went sideways, and you get the negative errno so you know exactly what kind of sideways π
π¦ SEE ALSO π¦
the whole friend group, fr fr:
- Kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.cβ the source, go read her, she's iconic nfp_cpp_mutex_init(9)nfp_cpp_mutex_alloc(9)nfp_cpp_mutex_free(9)nfp_cpp_mutex_lock(9)nfp_cpp_mutex_trylock(9)nfp_cpp_mutex_reclaim(9)
iykyk β that's init, alloc, free, lock, trylock, and reclaim, the full squad π
lowkey a reminder that this page is under the Kernel API Manual umbrella, so keep that kernel-brain energy when you're poking at it π§
and that's the page! mwah π β officially signed off from ./drivers/net/ethernet/netrono... (yes, the footer truncates it like that, we don't make the rules), dated October 2026, and the name on the door is still nfp_cpp_mutex_unlock(9). periodt. πβ¨
π¦ 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