nfp_cpp_mutex_reclaim(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the nfp_cpp_mutex_reclaim(9) page from the Kernel API Manual ✨ this is the one about reclaiming a mutex, and yes, the name is a whole mouthful, but we move πŸ’…

🌸 NAME 🌸

nfp_cpp_mutex_reclaim β€” Unlock mutex if held by local endpoint πŸ’–

✨ SYNOPSIS ✨

int nfp_cpp_mutex_reclaim (struct nfp_cpp *cpp , int target , unsigned long long address );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpp β€” NFP CPP handle 🫢
  • target β€” NFP CPP target ID (ie NFP_CPP_TARGET_CLS or NFP_CPP_TARGET_MU) πŸ‘‘
  • address β€” Offset into the address space of the NFP CPP target ID 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function releases the lock if it’s held by the local system 😭

⚠️ Extreme care is advised β€” call only when no local lock users can exist, fr fr. this is not a casual little drive-by unlock, bestie, ngl.

⭐ RETURN ⭐

  • 0 β€” if the lock was OK πŸ’–
  • 1 β€” if locked by us πŸ‘‘
  • -errno β€” on invalid mutex 😭

πŸ’œ SEE ALSO πŸ’œ


and that’s the whole page, bestie πŸŽ€ kisses from the Kernel API Manual, source/version ./drivers/net/ethernet/netrono..., dated October 2026, for nfp_cpp_mutex_reclaim(9) πŸ’…βœ¨

πŸ“¦ where this page comes from