STRUCT NLMSVC_BINDING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct nlmsvc_binding πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for struct nlmsvc_binding, and it's literally the lockd -> nfsd callback table. It's giving β€œtiny handoff table with main character energy,” and we're gonna read it together. ✨


✨ NAME ✨

struct nlmsvc_binding β€” lockd -> nfsd callback table. periodt.

🌸 SYNOPSIS 🌸

       struct nlmsvc_binding {
           struct module   *owner;
           int (*fopen)(struct svc_rqst *rqstp, struct nfs_fh *f, struct file
       **filp, int flags);
           void (*fclose)(struct file *filp);
        };

🫢 Members 🫢

  • owner β€” module that provides this binding. like, the module supplying the whole binding vibe. πŸ’–
  • fopen β€” open a file by NFS file handle on behalf of an NLM request. yes bestie, that's the callback doing the opening. πŸ¦‹
  • fclose β€” close a file that was previously opened via fopen.
⚠️ okay so this part is not optional: implementations MUST be semantically equivalent to fput. no cap. πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/lockd/bind.h β€” go look, iykyk. πŸ‘‘

xoxo, your girl πŸ’– β€” brought to you by ./include/linux/lockd, dated October 2026, for struct nlmsvc_binding(9). slay. πŸŽ€

πŸ“¦ where this page comes from