Home
last modified time | relevance | path

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

12

/linux/fs/
A Dlocks.c85 return F_UNLCK; in target_leasetype()
364 return F_UNLCK; in flock_translate_cmd()
401 case F_UNLCK: in assign_type()
850 fl->fl_type = F_UNLCK; in posix_test_lock()
861 fl->fl_type = F_UNLCK; in posix_test_lock()
1293 case F_UNLCK: in lease_clear_pending()
1310 if (arg == F_UNLCK) { in lease_modify()
1563 int type = F_UNLCK; in fcntl_getlease()
1805 case F_UNLCK: in generic_setlease()
1839 if (arg != F_UNLCK) in setlease_notifier()
[all …]
/linux/fs/ceph/
A 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/fs/9p/
A Dvfs_file.c122 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock()
159 case F_UNLCK: in v9fs_file_do_lock()
223 if (res < 0 && fl->fl_type != F_UNLCK) { in v9fs_file_do_lock()
225 fl->fl_type = F_UNLCK; in v9fs_file_do_lock()
250 if (fl->fl_type != F_UNLCK) in v9fs_file_getlock()
276 fl->fl_type = F_UNLCK; in v9fs_file_getlock()
309 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock_dotl()
343 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_flock_dotl()
/linux/fs/ocfs2/
A Dlocks.c55 request.fl_type = F_UNLCK; in ocfs2_do_flock()
109 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
A Dstack_user.c754 fl->fl_type = F_UNLCK; in user_plock()
759 else if (fl->fl_type == F_UNLCK) in user_plock()
/linux/arch/parisc/include/uapi/asm/
A Dfcntl.h35 #define F_UNLCK 03 macro
/linux/arch/alpha/include/uapi/asm/
A Dfcntl.h50 #define F_UNLCK 8 macro
/linux/arch/sparc/include/uapi/asm/
A Dfcntl.h50 #define F_UNLCK 3 macro
/linux/fs/nfs/
A Dfile.c696 if (fl->fl_type != F_UNLCK) { in do_getlk()
712 fl->fl_type = F_UNLCK; in do_getlk()
823 else if (fl->fl_type == F_UNLCK) in nfs_lock()
850 if (fl->fl_type == F_UNLCK) in nfs_flock()
/linux/include/trace/events/
A Dfs.h100 { F_UNLCK, "UNLCK" })
A Dfilelock.h36 { F_UNLCK, "F_UNLCK" })
/linux/tools/include/uapi/asm-generic/
A Dfcntl.h167 #define F_UNLCK 2 macro
/linux/include/uapi/asm-generic/
A Dfcntl.h168 #define F_UNLCK 2 macro
/linux/fs/afs/
A 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/fs/gfs2/
A Dfile.c1445 fl->fl_type = F_UNLCK; in gfs2_lock()
1448 if (fl->fl_type == F_UNLCK) in gfs2_lock()
1454 else if (fl->fl_type == F_UNLCK) in gfs2_lock()
1481 request.fl_type = F_UNLCK; in do_flock()
1544 if (fl->fl_type == F_UNLCK) { in gfs2_flock()
/linux/fs/lockd/
A 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()
A Dxdr.c226 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs()
A Dxdr4.c225 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
A Dsvclock.c619 if (lock->fl.fl_type == F_UNLCK) { in nlmsvc_testlock()
667 lock->fl.fl_type = F_UNLCK; in nlmsvc_unlock()
A Dsvcsubs.c184 lock.fl_type = F_UNLCK; in nlm_unlock_files()
/linux/include/linux/lockd/
A Dlockd.h374 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
/linux/fs/nfsd/
A 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/fs/dlm/
A Dplock.c360 fl->fl_type = F_UNLCK; in dlm_posix_get()
/linux/fs/cifs/
A Dfile.c1130 flock->fl_type = F_UNLCK; in cifs_lock_test()
1213 if (flock->fl_type == F_UNLCK && !cinode->can_cache_brlcks) { in cifs_posix_lock_test()
1482 } else if (flock->fl_type == F_UNLCK) { in cifs_read_flock()
1542 flock->fl_type = F_UNLCK; in cifs_getlk()
/linux/tools/hv/
A Dhv_kvp_daemon.c135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()

Completed in 64 milliseconds

12