nfsd4_encode_bool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to nfsd4_encode_bool(9) from the Kernel API Manual ✨ This page is literally about encoding an XDR bool type result β€” that’s the whole assignment, no cap. It’s giving β€œtiny helper, big kernel energy” πŸ’…


✨ SYNOPSIS ✨

__be32 nfsd4_encode_bool (struct xdr_stream *xdr , bool val );

πŸŽ€ ARGUMENTS πŸŽ€

  • xdr β€” the target XDR stream 🫢
  • val β€” the boolean value to encode πŸ’–

🌸 DESCRIPTION 🌸

Return values, kept exactly as they are bestie:

  • nfs_ok: val is encoded, and xdr has advanced to the next position ✨
  • nfserr_resource: the stream buffer space is exhausted 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/nfsd/xdr4.h:


xoxo, your kernel bestie πŸ’œ β€” source/version: ./fs/nfsd, date: October 2026, page: nfsd4_encode_bool(9) πŸŽ€

πŸ“¦ where this page comes from