Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/include/uapi/asm/
Dfcntl.h64 struct flock { struct
65 short l_type;
66 short l_whence;
67 __kernel_off_t l_start;
68 __kernel_off_t l_len;
69 long l_sysid;
70 __kernel_pid_t l_pid;
71 long pad[4];
/Linux-v5.4/include/uapi/asm-generic/
Dfcntl.h196 struct flock { struct
211 struct flock64 { argument
/Linux-v5.4/tools/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
210 struct flock64 { argument
/Linux-v5.4/fs/
Dfcntl.c326 struct flock flock; in do_fcntl() local
477 struct flock64 flock; in SYSCALL_DEFINE3() local
601 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
614 struct flock flock; in do_compat_fcntl64() local
Dlocks.c2188 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2284 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2306 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2320 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2445 struct flock *flock) in fcntl_setlk()
2532 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2576 struct flock64 *flock) in fcntl_setlk64()
/Linux-v5.4/fs/cifs/
Dsmb2file.c117 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
Dfile.c1003 __u8 type, struct file_lock *flock) in cifs_lock_test()
1098 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1126 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1249 struct file_lock *flock; in cifs_push_posix_locks() local
1360 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1407 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1495 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
1608 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
1701 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
/Linux-v5.4/fs/9p/
Dvfs_file.c137 struct p9_flock flock; in v9fs_file_do_lock() local
/Linux-v5.4/fs/fuse/
Dfile.c2335 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2377 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
Dfuse_i.h218 bool flock:1; member
/Linux-v5.4/net/9p/
Dclient.c2196 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/Linux-v5.4/drivers/nvme/target/
Dfc.c74 spinlock_t flock; member
/Linux-v5.4/include/linux/
Dfs.h1838 int (*flock) (struct file *, int, struct file_lock *); member