nfsd_nl_parse_one_expkey(9)
π nfsd_nl_parse_one_expkey(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to nfsd_nl_parse_one_expkey(9), a real page from the Kernel API Manual. yes it's a mouthful, no you don't have to say it out loud. it's giving "function name that ate and left no crumbs" π
β¨ NAME β¨
nfsd_nl_parse_one_expkey β it parses like one single expkey entry out of netlink. one. just the one. lowkey specific and we respect that π
πΈ SYNOPSIS πΈ
int nfsd_nl_parse_one_expkey (struct cache_detail *cd , struct nlattr
*attr );
there she is. the whole signature, untouched, exactly as the kernel gods wrote it π
π ARGUMENTS π
cdβ thecache_detailfor the expkey cache. that's its whole personality, it's the cache detail, it holds the expkey cache info πattrβ a nested attribute holding all the expkey fields inside it. nested!! like a little gift box of fields π
π¦ DESCRIPTION π¦
so what does it actually do? it parses one expkey entry from a netlink message and then updates the cache. that's the whole job, and honestly? slay.
it mirrors the logic in expkey_parse β so if you already know expkey_parse, you already know this vibe. iykyk π§
it returns 0 on success, or a negative errno if things went sideways. so like, zero means we ate, negative means we're crying in the group chat π
π₯ SEE ALSO π₯
- Kernel file
./fs/nfsd/export.cβ that's the source file bestie, that's where the lore lives nfsd_nl_expkey_get_reqs_dumpit(9)nfsd_nl_expkey_set_reqs_doit(9)nfsd_nl_svc_export_get_reqs_dumpit(9)nfsd_nl_parse_fslocations(9)nfsd_nl_parse_one_export(9)nfsd_nl_svc_export_set_reqs_doit(9)check_xprtsec_policy(9)check_security_flavor(9)check_nfsd_access(9)rqst_exp_find(9)
that's the whole friend group right there, go say hi π«Ά
ngl this one's short and sweet β no warnings, no deprecated flags, no footguns hiding in the bushes. just parse one expkey, update the cache, return 0 or a negative errno. periodt π
and that's the page!! π it lives in ./fs/nfsd, dated October 2026, Kernel API Manual energy all the way through, and nfsd_nl_parse_one_expkey(9) is literally the main character of her own header. bye bestie, go parse something πβ
π¦ 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