| /Linux-v6.6/fs/lockd/ |
| D | xdr.c | 167 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs() 187 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs() 212 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
|
| D | xdr4.c | 162 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 182 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 207 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
|
| D | clnt4xdr.c | 284 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder() 360 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs() 383 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs() 406 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
|
| D | clntxdr.c | 279 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder() 360 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_testargs() 383 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_lockargs() 406 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_cancargs()
|
| D | svcsubs.c | 76 return (lock->fl_type == F_WRLCK) ? O_WRONLY : O_RDONLY; in lock_to_openmode()
|
| /Linux-v6.6/fs/ceph/ |
| D | locks.c | 136 fl->fl_type = F_WRLCK; in ceph_lock_message() 281 else if (F_WRLCK == fl->fl_type) in ceph_lock() 343 else if (F_WRLCK == fl->fl_type) in ceph_flock() 410 case F_WRLCK: in lock_to_ceph_filelock()
|
| /Linux-v6.6/arch/parisc/include/uapi/asm/ |
| D | fcntl.h | 34 #define F_WRLCK 02 macro
|
| /Linux-v6.6/arch/alpha/include/uapi/asm/ |
| D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /Linux-v6.6/arch/sparc/include/uapi/asm/ |
| D | fcntl.h | 49 #define F_WRLCK 2 macro
|
| /Linux-v6.6/fs/dlm/ |
| D | plock.c | 142 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock() 386 info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_cancel() 448 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get() 473 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
|
| /Linux-v6.6/fs/ |
| D | locks.c | 421 return F_WRLCK; in flock_translate_cmd() 445 case F_WRLCK: in assign_type() 845 if (sys_fl->fl_type == F_WRLCK) in locks_conflict() 847 if (caller_fl->fl_type == F_WRLCK) in locks_conflict() 1496 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease() 1612 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime() 1697 else if (arg != F_WRLCK) in check_conflicting_open() 1774 if (arg == F_WRLCK) in generic_add_lease() 1889 case F_WRLCK: in generic_setlease() 2219 && flock->l_type != F_WRLCK) in fcntl_getlk() [all …]
|
| /Linux-v6.6/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 166 #define F_WRLCK 1 macro
|
| /Linux-v6.6/include/uapi/asm-generic/ |
| D | fcntl.h | 166 #define F_WRLCK 1 macro
|
| /Linux-v6.6/include/trace/misc/ |
| D | fs.h | 99 { F_WRLCK, "WRLCK" }, \
|
| /Linux-v6.6/tools/testing/selftests/filelock/ |
| D | ofdlocks.c | 71 fl.l_type = F_WRLCK; in main()
|
| /Linux-v6.6/fs/ocfs2/ |
| D | locks.c | 30 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
|
| /Linux-v6.6/fs/afs/ |
| D | flock.c | 96 if (!exclusive && p->fl_type == F_WRLCK) in afs_grant_locks() 120 fl_type = F_WRLCK; in afs_next_locker() 133 (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) in afs_next_locker() 748 fl->fl_type = F_WRLCK; in afs_do_getlk()
|
| /Linux-v6.6/fs/9p/ |
| D | vfs_file.c | 143 case F_WRLCK: in v9fs_file_do_lock() 260 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
|
| /Linux-v6.6/include/trace/events/ |
| D | filelock.h | 35 { F_WRLCK, "F_WRLCK" }, \
|
| D | afs.h | 557 EM(F_WRLCK, "WRLCK") \
|
| /Linux-v6.6/arch/um/os-Linux/ |
| D | file.c | 579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
|
| /Linux-v6.6/fs/nfs/ |
| D | write.c | 1313 fl->fl_type == F_WRLCK; in is_whole_file_wrlock() 1353 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
|
| /Linux-v6.6/fs/smb/client/ |
| D | file.c | 1321 flock->fl_type = F_WRLCK; in cifs_lock_test() 1681 if (flock->fl_type == F_WRLCK) { in cifs_read_flock() 1755 flock->fl_type = F_WRLCK; in cifs_getlk() 1772 flock->fl_type = F_WRLCK; in cifs_getlk()
|
| /Linux-v6.6/tools/hv/ |
| D | hv_kvp_daemon.c | 123 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
|
| /Linux-v6.6/fs/gfs2/ |
| D | file.c | 1480 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|