lookup_lease_in_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is lookup_lease_in_table(9) from the Kernel API Manual, and it is literally here to find a matching lease info object. that’s the whole vibe. πŸ’…

✨ SYNOPSIS ✨

struct oplock_info * lookup_lease_in_table (struct ksmbd_conn *conn ,
       char *lease_key );

like, that’s the function signature, character for character β€” do not come for me, I copied it exactly. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • conn β€” the connection instance. it’s giving β€œwhich connection are we even talking about” energy.
  • lease_key β€” the lease key to be searched for. yes, the key. the thing you’re hunting. πŸ”

πŸ’– RETURN πŸ’–

Returns opinfo if found matching opinfo, otherwise NULL. so if it comes back NULL, that’s your cue that nothing matched β€” no cap. 😭

🌈 SEE ALSO 🌈

Kernel file ./fs/smb/server/oplock.c β€” go browse, it’s linked from here:


mwah πŸ’– source/version: ./fs/smb/server Β· date: October 2026 Β· page: lookup_lease_in_table(9). periodt. πŸ‘‘

πŸ“¦ where this page comes from