Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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];
/kernel/linux/linux-6.6/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
210 struct flock64 { argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dfcntl.h135 struct flock { struct
148 struct flock64 { argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dfcntl.h150 struct flock { struct
164 struct flock64 { argument
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dfcntl.h196 struct flock { struct
211 struct flock64 { argument
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
Dfcntl.h150 struct flock { struct
164 struct flock64 { argument
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
Dfcntl.h195 struct flock { struct
209 struct flock64 { argument
/kernel/linux/linux-6.6/fs/
Dfcntl.c313 struct flock flock; in do_fcntl() local
462 struct flock64 flock; in SYSCALL_DEFINE3() local
586 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
599 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()
2415 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2459 struct flock64 *flock) in fcntl_setlk64()
/kernel/linux/linux-5.10/fs/
Dfcntl.c334 struct flock flock; in do_fcntl() local
485 struct flock64 flock; in SYSCALL_DEFINE3() local
609 static int fixup_compat_flock(struct flock *flock) in fixup_compat_flock()
622 struct flock flock; in do_compat_fcntl64() local
Dlocks.c2219 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2315 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2337 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2351 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2477 struct flock *flock) in fcntl_setlk()
2564 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2608 struct flock64 *flock) in fcntl_setlk64()
/kernel/linux/linux-5.10/fs/cifs/
Dsmb2file.c116 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
Dfile.c1035 __u8 type, struct file_lock *flock) in cifs_lock_test()
1130 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1159 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1275 struct file_lock *flock; in cifs_push_posix_locks() local
1386 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1433 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1521 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
1634 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
1776 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
/kernel/linux/linux-6.6/fs/smb/server/
Dvfs.c332 struct file_lock *flock; in check_lock_range() local
1856 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock) in ksmbd_vfs_posix_lock_wait()
1861 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout) in ksmbd_vfs_posix_lock_wait_timeout()
1868 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock) in ksmbd_vfs_posix_lock_unblock()
Dsmb2pdu.c7192 static int smb2_set_flock_flags(struct file_lock *flock, int flags) in smb2_set_flock_flags()
7232 static struct ksmbd_lock *smb2_lock_init(struct file_lock *flock, in smb2_lock_init()
7259 struct file_lock *flock = (struct file_lock *)argv[0]; in smb2_remove_blocked_lock() local
7283 struct file_lock *flock = NULL; in smb2_lock() local
/kernel/linux/linux-6.6/fs/smb/client/
Dfile.c1402 __u8 type, struct file_lock *flock) in cifs_lock_test()
1498 cifs_posix_lock_test(struct file *file, struct file_lock *flock) in cifs_posix_lock_test()
1527 cifs_posix_lock_set(struct file *file, struct file_lock *flock) in cifs_posix_lock_set()
1645 struct file_lock *flock; in cifs_push_posix_locks() local
1761 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1808 cifs_getlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_getlk()
1922 cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in cifs_unlock_range()
2036 cifs_setlk(struct file *file, struct file_lock *flock, __u32 type, in cifs_setlk()
2179 int cifs_lock(struct file *file, int cmd, struct file_lock *flock) in cifs_lock()
Dsmb2file.c197 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_scan.c245 SPIN_LOCK_S *flock = NULL; in OsShrinkInactiveList() local
/kernel/linux/linux-6.6/fs/9p/
Dvfs_file.c120 struct p9_flock flock; in v9fs_file_do_lock() local
/kernel/linux/linux-5.10/fs/9p/
Dvfs_file.c137 struct p9_flock flock; in v9fs_file_do_lock() local
/kernel/linux/linux-6.6/arch/arm/kernel/
Dsys_oabi-compat.c239 struct flock64 flock; in sys_oabi_fcntl64() local
/kernel/linux/linux-6.6/fs/fuse/
Dfile.c2534 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2576 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c2448 int flock, struct fuse_lk_in *inarg) in fuse_lk_fill()
2490 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
/kernel/linux/linux-6.6/net/9p/
Dclient.c2176 int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) in p9_client_lock_dotl()

12