Home
last modified time | relevance | path

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

12

/linux-5.19.10/fs/ceph/
Dlocks.c125 fl->fl_type = F_UNLCK; in ceph_lock_message()
261 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) in ceph_lock()
273 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) { in ceph_lock()
281 if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK != fl->fl_type) { in ceph_lock()
320 if (F_UNLCK == fl->fl_type) in ceph_flock()
335 if (F_UNLCK == fl->fl_type) { in ceph_flock()
343 if (!err && F_UNLCK != fl->fl_type) { in ceph_flock()
400 case F_UNLCK: in lock_to_ceph_filelock()
/linux-5.19.10/fs/
Dlocks.c86 return F_UNLCK; in target_leasetype()
179 if (likely(ctx) || type == F_UNLCK) in locks_get_lock_context()
422 return F_UNLCK; in flock_translate_cmd()
459 case F_UNLCK: in assign_type()
910 fl->fl_type = F_UNLCK; in posix_test_lock()
932 fl->fl_type = F_UNLCK; in posix_test_lock()
1031 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1036 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1057 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1109 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
[all …]
/linux-5.19.10/fs/9p/
Dvfs_file.c122 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock()
158 case F_UNLCK: in v9fs_file_do_lock()
222 if (res < 0 && fl->fl_type != F_UNLCK) { in v9fs_file_do_lock()
224 fl->fl_type = F_UNLCK; in v9fs_file_do_lock()
249 if (fl->fl_type != F_UNLCK) in v9fs_file_getlock()
275 fl->fl_type = F_UNLCK; in v9fs_file_getlock()
308 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock_dotl()
342 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_flock_dotl()
/linux-5.19.10/fs/ocfs2/
Dlocks.c55 request.fl_type = F_UNLCK; in ocfs2_do_flock()
109 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
Dstack_user.c748 fl->fl_type = F_UNLCK; in user_plock()
753 else if (fl->fl_type == F_UNLCK) in user_plock()
/linux-5.19.10/arch/parisc/include/uapi/asm/
Dfcntl.h35 #define F_UNLCK 03 macro
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h50 #define F_UNLCK 8 macro
/linux-5.19.10/arch/sparc/include/uapi/asm/
Dfcntl.h50 #define F_UNLCK 3 macro
/linux-5.19.10/include/trace/events/
Dfs.h100 { F_UNLCK, "UNLCK" })
Dfilelock.h36 { F_UNLCK, "F_UNLCK" })
/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h168 #define F_UNLCK 2 macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h168 #define F_UNLCK 2 macro
/linux-5.19.10/fs/nfs/
Dfile.c701 if (fl->fl_type != F_UNLCK) { in do_getlk()
717 fl->fl_type = F_UNLCK; in do_getlk()
828 else if (fl->fl_type == F_UNLCK) in nfs_lock()
855 if (fl->fl_type == F_UNLCK) in nfs_flock()
/linux-5.19.10/fs/afs/
Dflock.c733 fl->fl_type = F_UNLCK; in afs_do_getlk()
737 if (fl->fl_type == F_UNLCK) { in afs_do_getlk()
781 if (fl->fl_type == F_UNLCK) in afs_lock()
823 if (fl->fl_type == F_UNLCK) in afs_flock()
/linux-5.19.10/fs/lockd/
Dclntproc.c182 if (fl->fl_type != F_UNLCK) { in nlmclnt_proc()
438 fl->fl_type = F_UNLCK; in nlmclnt_test()
606 fl->fl_type = F_UNLCK; in nlmclnt_lock()
Dxdr.c226 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs()
Dxdr4.c210 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
Dsvcsubs.c184 lock.fl_type = F_UNLCK; in nlm_unlock_files()
Dsvclock.c621 if (lock->fl.fl_type == F_UNLCK) { in nlmsvc_testlock()
669 lock->fl.fl_type = F_UNLCK; in nlmsvc_unlock()
/linux-5.19.10/fs/gfs2/
Dfile.c1432 fl->fl_type = F_UNLCK; in gfs2_lock()
1435 if (fl->fl_type == F_UNLCK) in gfs2_lock()
1441 else if (fl->fl_type == F_UNLCK) in gfs2_lock()
1468 request.fl_type = F_UNLCK; in do_flock()
1530 if (fl->fl_type == F_UNLCK) { in gfs2_flock()
/linux-5.19.10/include/linux/lockd/
Dlockd.h379 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
/linux-5.19.10/fs/nfsd/
Dnfs4layouts.c173 vfs_setlease(ls->ls_file->nf_file, F_UNLCK, NULL, (void **)&ls); in nfsd4_free_layout_stateid()
742 BUG_ON(!(arg & F_UNLCK)); in nfsd4_layout_lm_change()
/linux-5.19.10/fs/dlm/
Dplock.c349 fl->fl_type = F_UNLCK; in dlm_posix_get()
/linux-5.19.10/fs/cifs/
Dfile.c1136 flock->fl_type = F_UNLCK; in cifs_lock_test()
1219 if (flock->fl_type == F_UNLCK && !cinode->can_cache_brlcks) { in cifs_posix_lock_test()
1488 } else if (flock->fl_type == F_UNLCK) { in cifs_read_flock()
1548 flock->fl_type = F_UNLCK; in cifs_getlk()
/linux-5.19.10/tools/hv/
Dhv_kvp_daemon.c135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()

12