Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
445 case F_UNLCK: in assign_type()
896 fl->fl_type = F_UNLCK; in posix_test_lock()
918 fl->fl_type = F_UNLCK; in posix_test_lock()
1017 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1022 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1043 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1095 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; in posix_lock_inode()
[all …]
/linux-6.1.9/fs/ceph/
Dlocks.c121 fl->fl_type = F_UNLCK; in ceph_lock_message()
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()
/linux-6.1.9/fs/9p/
Dvfs_file.c123 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-6.1.9/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-6.1.9/arch/parisc/include/uapi/asm/
Dfcntl.h35 #define F_UNLCK 03 macro
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dfcntl.h50 #define F_UNLCK 8 macro
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dfcntl.h50 #define F_UNLCK 3 macro
/linux-6.1.9/include/trace/events/
Dfs.h100 { F_UNLCK, "UNLCK" })
Dfilelock.h36 { F_UNLCK, "F_UNLCK" })
/linux-6.1.9/fs/nfs/
Dfile.c698 if (fl->fl_type != F_UNLCK) { in do_getlk()
714 fl->fl_type = F_UNLCK; in do_getlk()
825 else if (fl->fl_type == F_UNLCK) in nfs_lock()
852 if (fl->fl_type == F_UNLCK) in nfs_flock()
/linux-6.1.9/tools/include/uapi/asm-generic/
Dfcntl.h168 #define F_UNLCK 2 macro
/linux-6.1.9/include/uapi/asm-generic/
Dfcntl.h168 #define F_UNLCK 2 macro
/linux-6.1.9/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-6.1.9/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.c617 if (lock->fl.fl_type == F_UNLCK) { in nlmsvc_testlock()
661 lock->fl.fl_type = F_UNLCK; in nlmsvc_unlock()
/linux-6.1.9/fs/gfs2/
Dfile.c1431 fl->fl_type = F_UNLCK; in gfs2_lock()
1434 if (fl->fl_type == F_UNLCK) in gfs2_lock()
1440 else if (fl->fl_type == F_UNLCK) in gfs2_lock()
1485 request.fl_type = F_UNLCK; in do_flock()
1550 if (fl->fl_type == F_UNLCK) { in gfs2_flock()
/linux-6.1.9/include/linux/lockd/
Dlockd.h380 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
/linux-6.1.9/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-6.1.9/fs/dlm/
Dplock.c355 fl->fl_type = F_UNLCK; in dlm_posix_get()
/linux-6.1.9/fs/cifs/
Dfile.c1196 flock->fl_type = F_UNLCK; in cifs_lock_test()
1280 if (flock->fl_type == F_UNLCK && !cinode->can_cache_brlcks) { in cifs_posix_lock_test()
1556 } else if (flock->fl_type == F_UNLCK) { in cifs_read_flock()
1618 flock->fl_type = F_UNLCK; in cifs_getlk()
/linux-6.1.9/tools/hv/
Dhv_kvp_daemon.c135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()

12