nlm4_svc_en...lm4_shareres(9)
π nlm4_svc_encode_nlm4_shareres β Kernel API Manual, section 9 π
okay so bestie, we're in the Kernel API Manual (section 9, the kernel-functions girlies) and today's main character is nlm4_svc_encode_nlm4_shareres β¨ she's not the flashiest name in the file but she does one thing and she does it correctly, and honestly? we respect that π
πΈ NAME πΈ
nlm4_svc_encode_nlm4_shareres β literally encodes a nlm4_shareres result. that's it. that's the whole job. no cap π«Ά
β¨ SYNOPSIS β¨
bool nlm4_svc_encode_nlm4_shareres (struct svc_rqst *rqstp , struct
xdr_stream *xdr );
like yes, that's the exact signature, copy it character for character, don't be weird about it π
π¦ ARGUMENTS π¦
rqstpβ the RPC transaction context π this is the whole "who's asking, what's the vibe" bundle for the request you're handling.xdrβ the target XDR data stream π this is the stream she's writing the encoded result into, so like, the destination, the canvas, the little data river.
π₯ DESCRIPTION π₯
so the whole thing is about return values, and there are exactly two moods:
trueβ the procedure results encoded successfully π slay, we ate, the bytes landed.falseβ encode failed π not slay, something went sideways along the way.
that's genuinely the entire described contract, so no, I'm not gonna invent extra behaviour for you β the page doesn't say more and I'm not out here making things up π
π§ SEE ALSO π§
the kernel source lives at ./fs/lockd/nlm4xdr_gen.c (and the directory in the footer is ./fs/lockd) β go read the source, iykyk π
and here's the whole friend group, all of them, in order, besties fr fr:
nlm4_svc_decode_nlm4_testargs(9)nlm4_svc_decode_nlm4_lockargs(9)nlm4_svc_decode_nlm4_cancargs(9)nlm4_svc_decode_nlm4_unlockargs(9)nlm4_svc_decode_nlm4_testres(9)nlm4_svc_decode_nlm4_res(9)nlm4_svc_decode_nlm4_notifyargs(9)nlm4_svc_decode_nlm4_shareargs(9)nlm4_svc_decode_nlm4_notify(9)nlm4_svc_encode_nlm4_testres(9)nlm4_svc_encode_nlm4_res(9)
ok tiny heads up π that list is exactly what the page gives you β every single one of those (9) references, not one dropped, not one merged. click through them, they're the sisters, they're the squad, they're giving lockd family reunion πΈ
sign-off time π
β¨ this little icon says bye from ./fs/lockd, dated October 2026, and the manual is the Kernel API Manual β go forth, encode responsibly, and remember: true means slay, false means π. mwah π«Άπ
π¦ 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