Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/openbmc/linux/include/uapi/asm-generic/
H A Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/openbmc/linux/fs/
H A 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
H A 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()
/openbmc/linux/fs/smb/server/
H A Dvfs.c332 struct file_lock *flock; in check_lock_range() local
1846 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock) in ksmbd_vfs_posix_lock_wait()
1851 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout) in ksmbd_vfs_posix_lock_wait_timeout()
1858 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock) in ksmbd_vfs_posix_lock_unblock()
H A Dsmb2pdu.c7073 static int smb2_set_flock_flags(struct file_lock *flock, int flags) in smb2_set_flock_flags()
7113 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock, in smb2_lock_init()
7140 struct file_lock *flock = (struct file_lock *)argv[0]; in smb2_remove_blocked_lock() local
7164 struct file_lock *flock = NULL; in smb2_lock() local
/openbmc/linux/fs/smb/client/
H A Dfile.c1397 __u8 type, struct file_lock *flock) in cifs_lock_test()
1493 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1522 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1640 struct file_lock *flock; in cifs_push_posix_locks() local
1756 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1803 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1894 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
2008 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
2151 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
H A Dsmb2file.c189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/openbmc/linux/fs/9p/
H A Dvfs_file.c120 struct p9_flock flock; in v9fs_file_do_lock() local
/openbmc/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c239 struct flock64 flock; in sys_oabi_fcntl64() local
/openbmc/linux/fs/fuse/
H A Dfile.c2528 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2570 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
H A Dfuse_i.h248 bool flock:1; member
/openbmc/linux/net/9p/
H A Dclient.c2162 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()
/openbmc/linux/drivers/nvme/target/
H A Dfc.c85 spinlock_t flock; member
/openbmc/qemu/hw/9pfs/
H A D9p.c3705 V9fsFlock flock; in v9fs_lock() local
/openbmc/linux/include/linux/
H A Dfs.h1936 int (*flock) (struct file *, int, struct file_lock *); member