Home
last modified time | relevance | path

Searched refs:F_UNLCK (Results 1 - 25 of 71) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/filelock/
H A Dofdlocks.c66 if (fl.l_type != F_UNLCK) { in main()
77 if (fl.l_type != F_UNLCK) { in main()
86 fl.l_type = F_UNLCK; in main()
92 ("[FAIL] F_OFD_GETLK with F_UNLCK not supported\n"); in main()
95 if (fl.l_type != F_UNLCK) { in main()
97 ("[SUCCESS] F_UNLCK test returns: locked, type %i pid %i len %zi\n", in main()
101 ("[FAIL] F_OFD_GETLK with F_UNLCK did not return lock info\n"); in main()
105 fl2.l_type = F_UNLCK; in main()
111 ("[FAIL] F_OFD_GETLK with F_UNLCK not supported\n"); in main()
116 ("[FAIL] F_UNLCK tes in main()
[all...]
/kernel/linux/linux-6.6/fs/
H A Dlocks.c87 return F_UNLCK; in target_leasetype()
180 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
423 return F_UNLCK; in flock_translate_cmd()
446 case F_UNLCK: in assign_type()
872 * path so checks for additional GETLK-specific things like F_UNLCK.
877 /* F_UNLCK checks any locks on the same fd. */ in posix_test_locks_conflict()
878 if (caller_fl->fl_type == F_UNLCK) { in posix_test_locks_conflict()
912 fl->fl_type = F_UNLCK; in posix_test_lock()
934 fl->fl_type = F_UNLCK; in posix_test_lock()
1033 if (request->fl_type != F_UNLCK) in flock_lock_inode()
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dlocks.c121 fl->fl_type = F_UNLCK; in ceph_lock_message()
240 if (__mandatory_lock(file->f_mapping->host) && fl->fl_type != F_UNLCK) in ceph_lock()
257 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) in ceph_lock()
269 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) { in ceph_lock()
277 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK != fl->fl_type) { in ceph_lock()
316 if (F_UNLCK == fl->fl_type) in ceph_flock()
331 if (F_UNLCK == fl->fl_type) { in ceph_flock()
339 if (!err && F_UNLCK != fl->fl_type) { in ceph_flock()
396 case F_UNLCK: in lock_to_ceph_filelock()
/kernel/linux/linux-5.10/fs/9p/
H A Dvfs_file.c124 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in v9fs_file_lock()
127 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock()
164 case F_UNLCK: in v9fs_file_do_lock()
228 if (res < 0 && fl->fl_type != F_UNLCK) { in v9fs_file_do_lock()
230 fl->fl_type = F_UNLCK; in v9fs_file_do_lock()
255 if (fl->fl_type != F_UNLCK) in v9fs_file_getlock()
281 fl->fl_type = F_UNLCK; in v9fs_file_getlock()
315 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in v9fs_file_lock_dotl()
318 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock_dotl()
351 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in v9fs_file_flock_dotl()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dlocks.c191 return F_UNLCK; in target_leasetype()
255 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
472 return F_UNLCK; in flock_translate_cmd()
509 case F_UNLCK: in assign_type()
960 fl->fl_type = F_UNLCK; in posix_test_lock()
971 fl->fl_type = F_UNLCK; in posix_test_lock()
1070 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1075 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1096 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1146 return (request->fl_type == F_UNLCK) in posix_lock_inode()
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_file.c110 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock()
146 case F_UNLCK: in v9fs_file_do_lock()
210 if (res < 0 && fl->fl_type != F_UNLCK) { in v9fs_file_do_lock()
212 fl->fl_type = F_UNLCK; in v9fs_file_do_lock()
237 if (fl->fl_type != F_UNLCK) in v9fs_file_getlock()
263 fl->fl_type = F_UNLCK; in v9fs_file_getlock()
296 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock_dotl()
330 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_flock_dotl()
/kernel/linux/linux-6.6/fs/ceph/
H A Dlocks.c138 fl->fl_type = F_UNLCK; in ceph_lock_message()
274 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) in ceph_lock()
286 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) { in ceph_lock()
294 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK != fl->fl_type) { in ceph_lock()
333 if (F_UNLCK == fl->fl_type) in ceph_flock()
348 if (F_UNLCK == fl->fl_type) { in ceph_flock()
356 if (!err && F_UNLCK != fl->fl_type) { in ceph_flock()
413 case F_UNLCK: in lock_to_ceph_filelock()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dlocks.c57 request.fl_type = F_UNLCK; in ocfs2_do_flock()
113 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
126 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in ocfs2_lock()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dlocks.c56 request.fl_type = F_UNLCK; in ocfs2_do_flock()
110 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 8 macro
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dfcntl.h35 #define F_UNLCK 03 macro
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 8 macro
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dfcntl.h35 #define F_UNLCK 03 macro
/kernel/linux/linux-5.10/fs/nfs/
H A Dfile.c688 if (fl->fl_type != F_UNLCK) { in do_getlk()
704 fl->fl_type = F_UNLCK; in do_getlk()
802 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) in nfs_lock()
816 else if (fl->fl_type == F_UNLCK) in nfs_lock()
852 if (fl->fl_type == F_UNLCK) in nfs_flock()
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 3 macro
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 3 macro
/kernel/linux/linux-5.10/fs/afs/
H A Dflock.c733 fl->fl_type = F_UNLCK; in afs_do_getlk()
737 if (fl->fl_type == F_UNLCK) { in afs_do_getlk()
776 if (__mandatory_lock(&vnode->vfs_inode) && fl->fl_type != F_UNLCK) in afs_lock()
785 if (fl->fl_type == F_UNLCK) in afs_lock()
827 if (fl->fl_type == F_UNLCK) in afs_flock()
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dfcntl.h167 #define F_UNLCK 2 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dfcntl.h168 #define F_UNLCK 2 macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dfcntl.h167 #define F_UNLCK 2 macro
/kernel/linux/linux-6.6/include/trace/misc/
H A Dfs.h100 { F_UNLCK, "UNLCK" })
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dfcntl.h167 #define F_UNLCK 2 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dfcntl.h116 #define F_UNLCK 2 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dfcntl.h130 #define F_UNLCK 2 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dfcntl.h130 #define F_UNLCK 2 macro

Completed in 17 milliseconds

123