Home
last modified time | relevance | path

Searched defs:flock (Results 1 – 14 of 14) sorted by relevance

/linux-6.14.4/include/uapi/asm-generic/
Dfcntl.h194 struct flock { struct
208 struct flock64 { argument
/linux-6.14.4/fs/
Dfcntl.c451 struct flock flock; in do_fcntl() local
602 struct flock64 flock; in SYSCALL_DEFINE3() local
723 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
736 struct flock flock; in do_compat_fcntl64() local
Dlocks.c2135 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2237 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2259 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2273 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2402 struct flock *flock) in fcntl_setlk()
2481 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2525 struct flock64 *flock) in fcntl_setlk64()
/linux-6.14.4/fs/smb/client/
Dfile.c1592 __u8 type, struct file_lock *flock) in cifs_lock_test()
1688 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1717 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1835 struct file_lock *flock; in cifs_push_posix_locks() local
1953 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
2001 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
2115 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
2227 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
2370 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
Dsmb2file.c238 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/linux-6.14.4/fs/smb/server/
Dvfs.c332 struct file_lock *flock; in check_lock_range() local
1855 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock) in ksmbd_vfs_posix_lock_wait()
1860 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock) in ksmbd_vfs_posix_lock_unblock()
Dsmb2pdu.c7202 static int smb2_set_flock_flags(struct file_lock *flock, int flags) in smb2_set_flock_flags()
7242 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock, in smb2_lock_init()
7269 struct file_lock *flock = (struct file_lock *)argv[0]; in smb2_remove_blocked_lock() local
7293 struct file_lock *flock = NULL; in smb2_lock() local
/linux-6.14.4/fs/9p/
Dvfs_file.c120 struct p9_flock flock; in v9fs_file_do_lock() local
/linux-6.14.4/arch/arm/kernel/
Dsys_oabi-compat.c239 struct flock64 flock; in sys_oabi_fcntl64() local
/linux-6.14.4/fs/fuse/
Dfile.c2720 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2762 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
Dfuse_i.h273 bool flock:1; member
/linux-6.14.4/net/9p/
Dclient.c2223 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/linux-6.14.4/drivers/nvme/target/
Dfc.c85 spinlock_t flock; member
/linux-6.14.4/include/linux/
Dfs.h2154 int (*flock) (struct file *, int, struct file_lock *); member