/linux-6.1.9/fs/ |
D | locks.c | 86 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/ |
D | locks.c | 121 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/ |
D | vfs_file.c | 123 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/ |
D | locks.c | 55 request.fl_type = F_UNLCK; in ocfs2_do_flock() 109 if (fl->fl_type == F_UNLCK) in ocfs2_flock()
|
D | stack_user.c | 748 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/ |
D | fcntl.h | 35 #define F_UNLCK 03 macro
|
/linux-6.1.9/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 50 #define F_UNLCK 8 macro
|
/linux-6.1.9/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 50 #define F_UNLCK 3 macro
|
/linux-6.1.9/include/trace/events/ |
D | fs.h | 100 { F_UNLCK, "UNLCK" })
|
D | filelock.h | 36 { F_UNLCK, "F_UNLCK" })
|
/linux-6.1.9/fs/nfs/ |
D | file.c | 698 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/ |
D | fcntl.h | 168 #define F_UNLCK 2 macro
|
/linux-6.1.9/include/uapi/asm-generic/ |
D | fcntl.h | 168 #define F_UNLCK 2 macro
|
/linux-6.1.9/fs/afs/ |
D | flock.c | 733 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/ |
D | clntproc.c | 182 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()
|
D | xdr.c | 226 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs()
|
D | xdr4.c | 210 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs()
|
D | svcsubs.c | 184 lock.fl_type = F_UNLCK; in nlm_unlock_files()
|
D | svclock.c | 617 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/ |
D | file.c | 1431 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/ |
D | lockd.h | 380 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4layouts.c | 173 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/ |
D | plock.c | 355 fl->fl_type = F_UNLCK; in dlm_posix_get()
|
/linux-6.1.9/fs/cifs/ |
D | file.c | 1196 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/ |
D | hv_kvp_daemon.c | 135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()
|