| /linux-6.15/fs/lockd/ |
| H A D | xdr4.c | 161 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_testargs() 181 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_lockargs() 206 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_cancargs()
|
| H A D | xdr.c | 167 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_testargs() 187 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_lockargs() 212 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_cancargs()
|
| H A D | clnt4xdr.c | 284 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder() 360 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_testargs() 383 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_lockargs() 406 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
|
| H A D | clntxdr.c | 280 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder() 361 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_testargs() 384 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_lockargs() 407 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_cancargs()
|
| /linux-6.15/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 34 #define F_WRLCK 02 macro
|
| /linux-6.15/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /linux-6.15/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /linux-6.15/fs/ |
| H A D | locks.c | 457 return F_WRLCK; in flock_translate_cmd() 481 case F_WRLCK: in assign_type() 889 if (sys_flc->flc_type == F_WRLCK) in locks_conflict() 891 if (caller_flc->flc_type == F_WRLCK) in locks_conflict() 1667 if (flc && flc->flc_type == F_WRLCK) in lease_get_mtime() 1752 else if (arg != F_WRLCK) in check_conflicting_open() 1833 if (arg == F_WRLCK) in generic_add_lease() 1936 case F_WRLCK: in generic_setlease() 2283 && flock->l_type != F_WRLCK) in fcntl_getlk() 2391 case F_WRLCK: in check_fmode_for_setlk() [all …]
|
| /linux-6.15/include/trace/misc/ |
| H A D | fs.h | 99 { F_WRLCK, "WRLCK" }, \
|
| /linux-6.15/include/uapi/asm-generic/ |
| H A D | fcntl.h | 165 #define F_WRLCK 1 macro
|
| /linux-6.15/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 71 fl.l_type = F_WRLCK; in main()
|
| /linux-6.15/fs/9p/ |
| H A D | vfs_file.c | 142 case F_WRLCK: in v9fs_file_do_lock() 260 fl->c.flc_type = F_WRLCK; in v9fs_file_getlock()
|
| /linux-6.15/fs/ceph/ |
| H A D | locks.c | 138 fl->c.flc_type = F_WRLCK; in ceph_lock_message() 419 case F_WRLCK: in lock_to_ceph_filelock()
|
| /linux-6.15/include/trace/events/ |
| H A D | filelock.h | 35 { F_WRLCK, "F_WRLCK" }, \
|
| H A D | afs.h | 448 EM(F_WRLCK, "WRLCK") \
|
| /linux-6.15/include/linux/ |
| H A D | filelock.h | 175 return fl->c.flc_type == F_WRLCK; in lock_is_write()
|
| /linux-6.15/fs/afs/ |
| H A D | flock.c | 120 type = F_WRLCK; in afs_next_locker() 748 fl->c.flc_type = F_WRLCK; in afs_do_getlk()
|
| /linux-6.15/arch/um/os-Linux/ |
| H A D | file.c | 591 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
|
| /linux-6.15/fs/dlm/ |
| H A D | plock.c | 463 fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
|
| /linux-6.15/fs/smb/client/ |
| H A D | file.c | 1612 flock->c.flc_type = F_WRLCK; in cifs_lock_test() 2049 flock->c.flc_type = F_WRLCK; in cifs_getlk() 2066 flock->c.flc_type = F_WRLCK; in cifs_getlk()
|
| H A D | cifsfs.c | 1099 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
|
| /linux-6.15/tools/hv/ |
| H A D | hv_kvp_daemon.c | 135 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
|
| /linux-6.15/security/apparmor/ |
| H A D | lsm.c | 554 if (cmd == F_WRLCK) in apparmor_file_lock()
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4state.c | 5848 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease() 8233 type = F_WRLCK; in nfsd4_lock() 8431 file_lock->c.flc_type = F_WRLCK; in nfsd4_lockt() 9190 if (fl->c.flc_type == F_WRLCK) { in nfsd4_deleg_getattr_conflict()
|
| /linux-6.15/fs/fuse/ |
| H A D | file.c | 2694 case F_WRLCK: in convert_fuse_file_lock()
|