nsm_reboot_lookup(9)
π
nsm_reboot_lookup(9) β the nsm_reboot_lookup page, bestie edition π
okay so this is from the Kernel API Manual, and it's literally about matching NLMPROC_SM_NOTIFY arguments to an nsm_handle. stay with me, it's cute π¦
β¨ NAME β¨
nsm_reboot_lookup β match NLMPROC_SM_NOTIFY arguments to an nsm_handle π«Ά
πΈ SYNOPSIS πΈ
struct nsm_handle * nsm_reboot_lookup (const struct net *net , const
struct lockd_reboot *info );
π ARGUMENTS π
netβ the network namespace, bestie πinfoβ pointer to theNLMPROC_SM_NOTIFYarguments π
π DESCRIPTION π
so the way this works: it returns a matching nsm_handle if one is found in the nsm cache. the returned nsm_handle's reference count is bumped β yes, bumped, iconic behavior π
otherwise it returns NULL if some error occurred. that's it, that's the vibe π
ngl, NULL here is the "something went wrong" girlie, not the "no match" girlie. the man page says "if some error occurred" and we're not gonna lie to you π
π¦ SEE ALSO π¦
- Kernel file
./fs/lockd/mon.cπ nsm_monitor(9)πnsm_unmonitor(9)πnsm_get_handle(9)π£nsm_release(9)ποΈ
and that's the whole page, periodt β¨ source lives at ./fs/lockd, dated October 2026, and it's the nsm_reboot_lookup(9) page β mwah, love that for us ππ§ββοΈπ
π¦ 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