/linux-4.1.27/fs/ceph/ |
D | locks.c | 86 fl->fl_type = F_WRLCK; in ceph_lock_message() 180 else if (F_WRLCK == fl->fl_type) in ceph_lock() 223 else if (F_WRLCK == fl->fl_type) in ceph_flock() 369 case F_WRLCK: in lock_to_ceph_filelock()
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
D | fcntl.h | 36 #define F_WRLCK 02 macro
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 48 #define F_WRLCK 2 macro
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 48 #define F_WRLCK 2 macro
|
/linux-4.1.27/fs/ |
D | locks.c | 361 return F_WRLCK; in flock_translate_cmd() 396 case F_WRLCK: in assign_type() 717 if (sys_fl->fl_type == F_WRLCK) in locks_conflict() 719 if (caller_fl->fl_type == F_WRLCK) in locks_conflict() 1253 fl.fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK; in locks_mandatory_area() 1397 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease() 1505 if (fl->fl_type == F_WRLCK) in lease_get_mtime() 1587 if ((arg == F_WRLCK) && ((d_count(dentry) > 1) || in check_conflicting_open() 1624 if (is_deleg && arg == F_WRLCK) { in generic_add_lease() 1657 if (arg == F_WRLCK) in generic_add_lease() [all …]
|
/linux-4.1.27/fs/lockd/ |
D | clntxdr.c | 301 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder() 382 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_testargs() 404 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_lockargs() 426 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_cancargs()
|
D | clnt4xdr.c | 307 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder() 389 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs() 411 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs() 433 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
|
D | xdr4.c | 193 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 218 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 238 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
|
D | xdr.c | 196 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs() 221 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs() 241 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
|
/linux-4.1.27/include/uapi/asm-generic/ |
D | fcntl.h | 166 #define F_WRLCK 1 macro
|
/linux-4.1.27/fs/dlm/ |
D | plock.c | 125 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock() 337 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get() 368 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
|
/linux-4.1.27/fs/ocfs2/ |
D | locks.c | 45 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
|
/linux-4.1.27/include/trace/events/ |
D | filelock.h | 34 { F_WRLCK, "F_WRLCK" }, \
|
/linux-4.1.27/fs/9p/ |
D | vfs_file.c | 175 case F_WRLCK: in v9fs_file_do_lock() 278 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
|
/linux-4.1.27/arch/um/os-Linux/ |
D | file.c | 553 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
|
/linux-4.1.27/fs/afs/ |
D | flock.c | 501 fl->fl_type = F_WRLCK; in afs_do_getlk()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_flock.c | 692 getlk->fl_type = F_WRLCK; in ldlm_flock_completion_ast()
|
/linux-4.1.27/security/apparmor/ |
D | lsm.c | 463 if (cmd == F_WRLCK) in apparmor_file_lock()
|
/linux-4.1.27/fs/nfs/ |
D | write.c | 1181 fl->fl_type == F_WRLCK; in is_whole_file_wrlock() 1219 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
|
D | nfs4trace.h | 504 { F_WRLCK, "WRLCK" }, \
|
D | nfs4xdr.c | 4835 fl->fl_type = F_WRLCK; in decode_lock_denied()
|
D | nfs4proc.c | 6008 case F_WRLCK: in nfs4_proc_lock()
|
/linux-4.1.27/fs/cifs/ |
D | file.c | 916 flock->fl_type = F_WRLCK; in cifs_lock_test() 1261 if (flock->fl_type == F_WRLCK) { in cifs_read_flock() 1332 flock->fl_type = F_WRLCK; in cifs_getlk() 1349 flock->fl_type = F_WRLCK; in cifs_getlk()
|
D | cifsfs.c | 833 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
|
D | cifssmb.c | 2503 pLockData->fl_type = F_WRLCK; in CIFSSMBPosixLock()
|
/linux-4.1.27/fs/gfs2/ |
D | file.c | 1025 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; in do_flock()
|
/linux-4.1.27/tools/hv/ |
D | hv_kvp_daemon.c | 125 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2418 case F_WRLCK: in ll_file_ioctl() 2736 case F_WRLCK: in ll_file_flock()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4state.c | 3989 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease() 5542 file_lock->fl_type = F_WRLCK; in nfsd4_lock() 5679 file_lock->fl_type = F_WRLCK; in nfsd4_lockt()
|
/linux-4.1.27/fs/fuse/ |
D | file.c | 2079 case F_WRLCK: in convert_fuse_file_lock()
|