/linux/fs/lockd/ |
A 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()
|
A D | xdr4.c | 166 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 186 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 211 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
|
A D | clnt4xdr.c | 285 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder() 367 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs() 390 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs() 413 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
|
A 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()
|
A D | svcsubs.c | 76 return (lock->fl_type == F_WRLCK) ? O_WRONLY : O_RDONLY; in lock_to_openmode()
|
/linux/fs/ceph/ |
A D | locks.c | 123 fl->fl_type = F_WRLCK; in ceph_lock_message() 268 else if (F_WRLCK == fl->fl_type) in ceph_lock() 330 else if (F_WRLCK == fl->fl_type) in ceph_flock() 397 case F_WRLCK: in lock_to_ceph_filelock()
|
/linux/fs/ |
A D | locks.c | 362 return F_WRLCK; in flock_translate_cmd() 400 case F_WRLCK: in assign_type() 800 if (sys_fl->fl_type == F_WRLCK) in locks_conflict() 802 if (caller_fl->fl_type == F_WRLCK) in locks_conflict() 1525 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime() 1610 else if (arg != F_WRLCK) in check_conflicting_open() 1660 if (is_deleg && arg == F_WRLCK) { in generic_add_lease() 1694 if (arg == F_WRLCK) in generic_add_lease() 1808 case F_WRLCK: in generic_setlease() 2272 case F_WRLCK: in check_fmode_for_setlk() [all …]
|
/linux/arch/parisc/include/uapi/asm/ |
A D | fcntl.h | 34 #define F_WRLCK 02 macro
|
/linux/arch/alpha/include/uapi/asm/ |
A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
/linux/arch/sparc/include/uapi/asm/ |
A D | fcntl.h | 49 #define F_WRLCK 2 macro
|
/linux/fs/dlm/ |
A D | plock.c | 122 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock() 334 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get() 365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
|
/linux/include/trace/events/ |
A D | fs.h | 99 { F_WRLCK, "WRLCK" }, \
|
A D | filelock.h | 35 { F_WRLCK, "F_WRLCK" }, \
|
A D | afs.h | 557 EM(F_WRLCK, "WRLCK") \
|
/linux/tools/include/uapi/asm-generic/ |
A D | fcntl.h | 166 #define F_WRLCK 1 macro
|
/linux/include/uapi/asm-generic/ |
A D | fcntl.h | 167 #define F_WRLCK 1 macro
|
/linux/fs/afs/ |
A 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/fs/ocfs2/ |
A D | locks.c | 29 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
|
/linux/fs/9p/ |
A D | vfs_file.c | 156 case F_WRLCK: in v9fs_file_do_lock() 273 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
|
/linux/arch/um/os-Linux/ |
A D | file.c | 579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
|
/linux/fs/nfs/ |
A D | write.c | 1310 fl->fl_type == F_WRLCK; in is_whole_file_wrlock() 1349 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
|
/linux/fs/cifs/ |
A D | file.c | 1126 flock->fl_type = F_WRLCK; in cifs_lock_test() 1478 if (flock->fl_type == F_WRLCK) { in cifs_read_flock() 1550 flock->fl_type = F_WRLCK; in cifs_getlk() 1567 flock->fl_type = F_WRLCK; in cifs_getlk()
|
A D | cifsfs.c | 1036 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
|
/linux/tools/hv/ |
A D | hv_kvp_daemon.c | 123 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
|
/linux/fs/gfs2/ |
A D | file.c | 1471 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|