Home
last modified time | relevance | path

Searched refs:F_UNLCK (Results 1 – 25 of 31) sorted by relevance

12

/linux/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()
95 if (fl.l_type != F_UNLCK) { in main()
105 fl2.l_type = F_UNLCK; in main()
122 fl.l_type = F_UNLCK; in main()
126 if (fl.l_type != F_UNLCK) { in main()
/linux/fs/9p/
H A Dvfs_file.c110 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->c.flc_type != F_UNLCK) { in v9fs_file_lock()
145 case F_UNLCK: in v9fs_file_do_lock()
209 if (res < 0 && fl->c.flc_type != F_UNLCK) { in v9fs_file_do_lock()
212 fl->c.flc_type = F_UNLCK; in v9fs_file_do_lock()
237 if (fl->c.flc_type != F_UNLCK) in v9fs_file_getlock()
263 fl->c.flc_type = F_UNLCK; in v9fs_file_getlock()
296 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->c.flc_type != F_UNLCK) { in v9fs_file_lock_dotl()
330 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->c.flc_type != F_UNLCK) { in v9fs_file_flock_dotl()
/linux/fs/
H A Dlocks.c90 return F_UNLCK; in target_leasetype()
183 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
459 return F_UNLCK; in flock_translate_cmd()
482 case F_UNLCK: in assign_type()
962 fl->c.flc_type = F_UNLCK; in posix_test_lock()
984 fl->c.flc_type = F_UNLCK; in posix_test_lock()
1085 if (request->c.flc_type != F_UNLCK) in flock_lock_inode()
1090 if (!(request->c.flc_flags & FL_ACCESS) && (request->c.flc_type != F_UNLCK)) { in flock_lock_inode()
1172 (request->c.flc_type != F_UNLCK || in posix_lock_inode()
1186 if (request->c.flc_type != F_UNLCK) { in posix_lock_inode()
[all …]
/linux/fs/ceph/
H A Dlocks.c140 fl->c.flc_type = F_UNLCK; in ceph_lock_message()
297 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK != fl->c.flc_type) { in ceph_lock()
360 if (!err && F_UNLCK != fl->c.flc_type) { in ceph_flock()
422 case F_UNLCK: in lock_to_ceph_filelock()
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h35 #define F_UNLCK 03 macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 8 macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h50 #define F_UNLCK 3 macro
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/trace/misc/
H A Dfs.h100 { F_UNLCK, "UNLCK" })
/linux/include/uapi/asm-generic/
H A Dfcntl.h167 #define F_UNLCK 2 macro
/linux/include/linux/
H A Dfilelock.h165 return fl->c.flc_type == F_UNLCK; in lock_is_unlock()
261 return F_UNLCK; in fcntl_getlease()
/linux/fs/ocfs2/
H A Dlocks.c56 request.c.flc_type = F_UNLCK; in ocfs2_do_flock()
/linux/fs/lockd/
H A Dclntproc.c186 if (fl->c.flc_type != F_UNLCK) { in nlmclnt_proc()
443 fl->c.flc_type = F_UNLCK; in nlmclnt_test()
629 fl->c.flc_type = F_UNLCK; in nlmclnt_lock()
H A Dsvclock.c641 if (lock->fl.c.flc_type == F_UNLCK) { in nlmsvc_testlock()
685 lock->fl.c.flc_type = F_UNLCK; in nlmsvc_unlock()
998 fl->c.flc_type = F_UNLCK; in nlmsvc_grant_reply()
H A Dxdr4.c221 argp->lock.fl.c.flc_type = F_UNLCK; in nlm4svc_decode_unlockargs()
H A Dxdr.c226 argp->lock.fl.c.flc_type = F_UNLCK; in nlmsvc_decode_unlockargs()
H A Dsvcsubs.c184 lock.c.flc_type = F_UNLCK; in nlm_unlock_files()
/linux/include/linux/lockd/
H A Dlockd.h383 &&(fl1->c.flc_type == fl2->c.flc_type || fl2->c.flc_type == F_UNLCK); in nlm_compare_locks()
/linux/fs/nfs/
H A Dfile.c729 if (fl->c.flc_type != F_UNLCK) { in do_getlk()
745 fl->c.flc_type = F_UNLCK; in do_getlk()
/linux/fs/nfsd/
H A Dnfs4layouts.c166 kernel_setlease(fl->nf_file, F_UNLCK, NULL, in nfsd4_close_layout()
763 BUG_ON(!(arg & F_UNLCK)); in nfsd4_layout_lm_change()
/linux/include/trace/events/
H A Dfilelock.h36 { F_UNLCK, "F_UNLCK" })
/linux/fs/dlm/
H A Dplock.c458 fl->c.flc_type = F_UNLCK; in dlm_posix_get()
/linux/fs/afs/
H A Dflock.c733 fl->c.flc_type = F_UNLCK; in afs_do_getlk()
/linux/tools/hv/
H A Dhv_kvp_daemon.c146 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()
/linux/fs/gfs2/
H A Dfile.c1499 request.c.flc_type = F_UNLCK; in do_flock()

12