nlm_svc_encode_nlm_res(9)
π 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:
nlm_svc_decode_nlm_testargs(9)nlm_svc_decode_nlm_lockargs(9)nlm_svc_decode_nlm_cancargs(9)nlm_svc_decode_nlm_unlockargs(9)nlm_svc_decode_nlm_testres(9)nlm_svc_decode_nlm_res(9)nlm_svc_decode_nlm_notifyargs(9)nlm_svc_decode_nlm_shareargs(9)nlm_svc_decode_nlm_notify(9)nlm_svc_encode_nlm_testres(9)nlm_svc_encode_nlm_shareres(9)
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
- 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