nfp_cpp_mutex_lock(9)
π 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 β
0on success π slay-errnoon failure π so like, negative errno value. that's the whole story.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_cpp_mutex_init(9)nfp_cpp_mutex_alloc(9)nfp_cpp_mutex_free(9)nfp_cpp_mutex_unlock(9)nfp_cpp_mutex_trylock(9)nfp_cpp_mutex_reclaim(9)
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
- 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