check_lock_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

check_lock_range(9) β€” vfs helper for smb byte range file locking πŸ’…

okay so bestie, this is the Kernel API Manual page for check_lock_range(9) β€” yes, the manual name is right there at the top, folded in all cute instead of copied as a boring header line ✨. It's literally the vfs helper for smb byte range file locking, and it's giving β€œspecific little function with main character energy” 🫢. slay.


🌸 NAME 🌸

check_lock_range β€” vfs helper for smb byte range file locking πŸ’–

✨ SYNOPSIS ✨

       int check_lock_range (struct file *filp , loff_t start , loff_t end ,
       unsigned char type );

πŸŽ€ ARGUMENTS πŸŽ€

  • filp β€” the file to apply the lock to, periodt πŸ‘‘
  • start β€” lock start byte offset, no cap πŸ“
  • end β€” lock end byte offset, fr fr 🏁
  • type β€” byte range type read/write, iconic πŸ’…

πŸ”₯ RETURN πŸ”₯

0 on success, otherwise error. highkey that's the whole vibe check 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/smb/server/vfs.c is the source-y bestie here, and these are the linked icons πŸ’œ:


mwah πŸ’‹ bestie, that's the whole page. source/version: ./fs/smb/server Β· date: October 2026 🌈

πŸ“¦ where this page comes from