Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/include/uapi/asm/
Dfcntl.h63 struct flock { struct
64 short l_type;
65 short l_whence;
66 __kernel_off_t l_start;
67 __kernel_off_t l_len;
68 long l_sysid;
69 __kernel_pid_t l_pid;
70 long pad[4];
/linux-4.4.14/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
210 struct flock64 { argument
/linux-4.4.14/fs/
Dlocks.c1924 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
1989 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2011 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2028 struct flock flock; in fcntl_getlk() local
2160 struct flock flock; in fcntl_setlk() local
2254 struct flock64 flock; in fcntl_getlk64() local
2302 struct flock64 flock; in fcntl_setlk64() local
/linux-4.4.14/fs/cifs/
Dfile.c897 __u8 type, struct file_lock *flock) in cifs_lock_test()
990 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1018 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1129 struct file_lock *flock; in cifs_push_posix_locks() local
1240 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1287 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1374 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
1481 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
1560 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
Dsmb2file.c110 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/linux-4.4.14/fs/9p/
Dvfs_file.c152 struct p9_flock flock; in v9fs_file_do_lock() local
/linux-4.4.14/fs/fuse/
Dfile.c2098 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2140 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
Dfuse_i.h160 bool flock:1; member
/linux-4.4.14/net/9p/
Dclient.c2182 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c2660 ldlm_policy_data_t flock = { {0} }; in ll_file_flock() local
/linux-4.4.14/fs/ceph/
Dmds_client.c51 bool flock; member
/linux-4.4.14/include/linux/
Dfs.h1632 int (*flock) (struct file *, int, struct file_lock *); member