Home
last modified time | relevance | path

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

/linux-6.1.9/tools/include/uapi/asm-generic/
Dfcntl.h196 struct flock { struct
210 struct flock64 { argument
/linux-6.1.9/include/uapi/asm-generic/
Dfcntl.h196 struct flock { struct
210 struct flock64 { argument
/linux-6.1.9/fs/
Dfcntl.c319 struct flock flock; in do_fcntl() local
468 struct flock64 flock; in SYSCALL_DEFINE3() local
592 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
605 struct flock flock; in do_compat_fcntl64() local
Dlocks.c2084 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2187 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2209 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2223 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2348 struct flock *flock) in fcntl_setlk()
2428 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2472 struct flock64 *flock) in fcntl_setlk64()
/linux-6.1.9/fs/ksmbd/
Dvfs.c323 struct file_lock *flock; in check_lock_range() local
1809 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock) in ksmbd_vfs_posix_lock_wait()
1814 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout) in ksmbd_vfs_posix_lock_wait_timeout()
1821 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock) in ksmbd_vfs_posix_lock_unblock()
Dsmb2pdu.c6724 static int smb2_set_flock_flags(struct file_lock *flock, int flags) in smb2_set_flock_flags()
6764 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock, in smb2_lock_init()
6791 struct file_lock *flock = (struct file_lock *)argv[0]; in smb2_remove_blocked_lock() local
6815 struct file_lock *flock = NULL; in smb2_lock() local
/linux-6.1.9/fs/cifs/
Dfile.c1172 __u8 type, struct file_lock *flock) in cifs_lock_test()
1268 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1297 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1415 struct file_lock *flock; in cifs_push_posix_locks() local
1531 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1578 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1669 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
1783 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
1926 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
Dsmb2file.c188 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/linux-6.1.9/fs/9p/
Dvfs_file.c133 struct p9_flock flock; in v9fs_file_do_lock() local
/linux-6.1.9/arch/arm/kernel/
Dsys_oabi-compat.c236 struct flock64 flock; in sys_oabi_fcntl64() local
/linux-6.1.9/fs/fuse/
Dfile.c2489 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2531 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
Dfuse_i.h228 bool flock:1; member
/linux-6.1.9/net/9p/
Dclient.c2170 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/linux-6.1.9/drivers/nvme/target/
Dfc.c85 spinlock_t flock; member
/linux-6.1.9/include/linux/
Dfs.h2134 int (*flock) (struct file *, int, struct file_lock *); member