| /linux/fs/lockd/ |
| 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()
|
| /linux/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 34 #define F_WRLCK 02 macro
|
| /linux/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /linux/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /linux/fs/ |
| H A D | locks.c | 466 return F_WRLCK; in flock_translate_cmd() 490 case F_WRLCK: in assign_type() 606 else if (arg != F_WRLCK) in lease_open_conflict() 938 if (sys_flc->flc_type == F_WRLCK) in locks_conflict() 940 if (caller_flc->flc_type == F_WRLCK) in locks_conflict() 1607 new_fl = lease_alloc(NULL, type, want_write ? F_WRLCK : F_RDLCK); in __break_lease() 1722 if (flc && flc->flc_type == F_WRLCK) in lease_get_mtime() 1857 if (arg == F_WRLCK) in generic_add_lease() 1964 case F_WRLCK: in generic_setlease() 2345 && flock->l_type != F_WRLCK) in fcntl_getlk() [all …]
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/include/uapi/asm-generic/ |
| H A D | fcntl.h | 165 #define F_WRLCK 1 macro
|
| /linux/include/trace/misc/ |
| H A D | fs.h | 99 { F_WRLCK, "WRLCK" }, \
|
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 71 fl.l_type = F_WRLCK; in main()
|
| /linux/fs/9p/ |
| H A D | vfs_file.c | 147 case F_WRLCK: in v9fs_file_do_lock() 265 fl->c.flc_type = F_WRLCK; in v9fs_file_getlock()
|
| /linux/fs/ceph/ |
| H A D | locks.c | 138 fl->c.flc_type = F_WRLCK; in ceph_lock_message() 422 case F_WRLCK: in lock_to_ceph_filelock()
|
| /linux/include/trace/events/ |
| H A D | filelock.h | 36 { F_WRLCK, "F_WRLCK" }, \
|
| H A D | afs.h | 454 EM(F_WRLCK, "WRLCK") \
|
| /linux/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/include/linux/ |
| H A D | filelock.h | 178 return fl->c.flc_type == F_WRLCK; in lock_is_write()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 576 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
|
| /linux/fs/dlm/ |
| H A D | plock.c | 463 fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
|
| /linux/fs/smb/client/ |
| H A D | file.c | 1698 flock->c.flc_type = F_WRLCK; in cifs_lock_test() 2135 flock->c.flc_type = F_WRLCK; in cifs_getlk() 2152 flock->c.flc_type = F_WRLCK; in cifs_getlk()
|
| H A D | cifsfs.c | 1155 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
|
| /linux/tools/hv/ |
| H A D | hv_kvp_daemon.c | 136 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
|
| /linux/security/apparmor/ |
| H A D | lsm.c | 556 if (cmd == F_WRLCK) in apparmor_file_lock()
|
| /linux/fs/nfsd/ |
| H A D | nfs4state.c | 5923 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease() 8393 type = F_WRLCK; in nfsd4_lock() 8591 file_lock->c.flc_type = F_WRLCK; in nfsd4_lockt() 9372 if (fl->c.flc_type == F_WRLCK) { in nfsd4_deleg_getattr_conflict()
|
| /linux/fs/fuse/ |
| H A D | file.c | 2437 case F_WRLCK: in convert_fuse_file_lock()
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 7287 flock->c.flc_type = F_WRLCK; in smb2_set_flock_flags() 7300 flock->c.flc_type = F_WRLCK; in smb2_set_flock_flags()
|