Home
last modified time | relevance | path

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

/Linux-v6.6/tools/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/Linux-v6.6/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/Linux-v6.6/fs/
Dfcntl.c321 struct flock flock; in do_fcntl() local
470 struct flock64 flock; in SYSCALL_DEFINE3() local
594 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
607 struct flock flock; in do_compat_fcntl64() local
Dlocks.c2069 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2173 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2195 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2209 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2336 struct flock *flock) in fcntl_setlk()
2416 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2460 struct flock64 *flock) in fcntl_setlk64()
/Linux-v6.6/fs/smb/client/
Dfile.c1301 __u8 type, struct file_lock *flock) in cifs_lock_test()
1397 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1426 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1544 struct file_lock *flock; in cifs_push_posix_locks() local
1660 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1707 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1798 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
1912 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
2055 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
Dsmb2file.c189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/Linux-v6.6/fs/smb/server/
Dvfs.c332 struct file_lock *flock; in check_lock_range() local
1812 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock) in ksmbd_vfs_posix_lock_wait()
1817 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout) in ksmbd_vfs_posix_lock_wait_timeout()
1824 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock) in ksmbd_vfs_posix_lock_unblock()
Dsmb2pdu.c6756 static int smb2_set_flock_flags(struct file_lock *flock, int flags) in smb2_set_flock_flags()
6796 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock, in smb2_lock_init()
6823 struct file_lock *flock = (struct file_lock *)argv[0]; in smb2_remove_blocked_lock() local
6847 struct file_lock *flock = NULL; in smb2_lock() local
/Linux-v6.6/fs/9p/
Dvfs_file.c120 struct p9_flock flock; in v9fs_file_do_lock() local
/Linux-v6.6/arch/arm/kernel/
Dsys_oabi-compat.c239 struct flock64 flock; in sys_oabi_fcntl64() local
/Linux-v6.6/fs/fuse/
Dfile.c2522 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2564 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
Dfuse_i.h233 bool flock:1; member
/Linux-v6.6/net/9p/
Dclient.c2160 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/Linux-v6.6/drivers/nvme/target/
Dfc.c85 spinlock_t flock; member
/Linux-v6.6/include/linux/
Dfs.h1875 int (*flock) (struct file *, int, struct file_lock *); member