check_lock_range(9)
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 π:
ksmbd_vfs_create(9)ksmbd_vfs_mkdir(9)ksmbd_vfs_read(9)ksmbd_vfs_write(9)ksmbd_vfs_getattr(9)ksmbd_vfs_fsync(9)ksmbd_vfs_remove_file(9)ksmbd_vfs_link(9)ksmbd_vfs_truncate(9)ksmbd_vfs_listxattr(9)ksmbd_vfs_getxattr(9)ksmbd_vfs_setxattr(9)ksmbd_vfs_set_fadvise(9)ksmbd_vfs_empty_dir(9)ksmbd_vfs_lookup_in_dir(9)ksmbd_vfs_kern_path(9)ksmbd_vfs_kern_path_start_removing(9)ksmbd_vfs_init_kstat(9)
mwah π bestie, that's the whole page. source/version: ./fs/smb/server Β· date: October 2026 π
π¦ 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