nlm_svc_decode_nlm_cancargs(9)
π nlm_svc_decode_nlm_cancargs(9) β like, the Kernel API Manual page you didn't know you needed π¦
okay so bestie, welcome to section 9 of the Kernel API Manual, and today's main character is nlm_svc_decode_nlm_cancargs. yes that's a mouthful, yes she ate, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
nlm_svc_decode_nlm_cancargs β decode a nlm_cancargs argument. that's it. that's the whole job. she decodes, she slays, she goes home π
β SYNOPSIS β
bool nlm_svc_decode_nlm_cancargs (struct svc_rqst *rqstp , struct
xdr_stream *xdr );
look at her go. returns a bool, takes two little friends. iconic signature fr fr π
π ARGUMENTS π
rqstpβ the RPC transaction context, a.k.a. the whole situation you're operating inside. think of it as the group chat where the transaction lives πΈxdrβ the source XDR data stream. this is where the actual bytes come from, the raw material, the tea β
π₯ DESCRIPTION π₯
so what does she actually do? she tries to decode the procedure arguments off that XDR stream, and then she tells you how it went. return values, no cap:
trueβ procedure arguments decoded successfully. we love a win π β¨falseβ decode failed. it's giving tragedy, but at least you know π
that's literally the whole contract β nothing hidden, nothing extra.truemeans slay,falsemeans the data said no π
π SEE ALSO π
go look at the actual kernel file, bestie: ./fs/lockd/nlm3xdr_gen.c π§ β and while you're in the neighborhood, here are all her siblings and cousins, every single one, no gatekeeping:
nlm_svc_decode_nlm_testargs(9)nlm_svc_decode_nlm_lockargs(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_res(9)nlm_svc_encode_nlm_shareres(9)
okay that's a whole family reunion and honestly? obsessed π
and that's the page, bestie π huge shoutout to the ./fs/lockd source, kernel API manual version vibes, dated October 2026 β she's from the future and she's still decoding args. periodt πβ¨
π¦ 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