nlm_svc_encode_nlm_res(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nlm_svc_encode_nlm_res(9) πŸ’…

okay so bestie, welcome to the section 9 page for nlm_svc_encode_nlm_res in the Kernel API Manual β€” this one's short and sweet, ngl, but every single crumb matters so let's get into it πŸŽ€


✨ NAME ✨

nlm_svc_encode_nlm_res β€” literally the function that encodes a nlm_res result. that's the whole tweet. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

bool nlm_svc_encode_nlm_res (struct svc_rqst *rqstp , struct xdr_stream
*xdr );

yes queen, it returns a bool. two args, one job. slay. ✨


🌸 ARGUMENTS 🌸

  • rqstp β€” the RPC transaction context πŸ’« like, the whole vibe of the call that's currently in flight.
  • xdr β€” the target XDR data stream 🫢 the stream the encoded result gets written into.

πŸ’œ DESCRIPTION πŸ’œ

here's the return-value tea, and it's giving very binary:

  • true β€” the procedure results got encoded successfully πŸ”₯ ate and left no crumbs.
  • false β€” the encode straight-up failed πŸ˜­πŸ’€

that's it, that's the description. short king. πŸ‘‘


🧚 SEE ALSO 🧚

kernel file ./fs/lockd/nlm3xdr_gen.c, plus the whole lockd xdr friend group β€” go say hi:

they're all in their encode/decode era and honestly? obsessed. 🌈


πŸ’€ friendly reminder: false means the encode failed β€” not a vibe, handle it.

and that's the page!! sourced from ./fs/lockd, dated October 2026 β€” mwah, go encode something iconic bestie πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from