Home
last modified time | relevance | path

Searched refs:F_RDLCK (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/include/uapi/asm-generic/
Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/linux-4.1.27/fs/ceph/
Dlocks.c84 fl->fl_type = F_RDLCK; in ceph_lock_message()
178 if (F_RDLCK == fl->fl_type) in ceph_lock()
221 if (F_RDLCK == fl->fl_type) in ceph_flock()
366 case F_RDLCK: in lock_to_ceph_filelock()
/linux-4.1.27/fs/afs/
Dflock.c88 if (fl->fl_type == F_RDLCK) { in afs_grant_locks()
91 if (p->fl_type == F_RDLCK) { in afs_grant_locks()
181 type = (fl->fl_type == F_RDLCK) ? in afs_lock_work()
275 type = (fl->fl_type == F_RDLCK) ? AFS_LOCK_READ : AFS_LOCK_WRITE; in afs_do_setlk()
499 fl->fl_type = F_RDLCK; in afs_do_getlk()
/linux-4.1.27/arch/parisc/include/uapi/asm/
Dfcntl.h35 #define F_RDLCK 01 macro
/linux-4.1.27/arch/alpha/include/uapi/asm/
Dfcntl.h47 #define F_RDLCK 1 macro
/linux-4.1.27/arch/sparc/include/uapi/asm/
Dfcntl.h47 #define F_RDLCK 1 macro
/linux-4.1.27/fs/
Dlocks.c153 return F_RDLCK; in target_leasetype()
359 return F_RDLCK; in flock_translate_cmd()
395 case F_RDLCK: in assign_type()
1253 fl.fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK; in locks_mandatory_area()
1297 case F_RDLCK: in lease_clear_pending()
1345 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1397 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1584 if ((arg == F_RDLCK) && (atomic_read(&inode->i_writecount) > 0)) in check_conflicting_open()
1768 case F_RDLCK: in generic_setlease()
2007 if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK)) in fcntl_getlk()
[all …]
/linux-4.1.27/include/trace/events/
Dfilelock.h33 { F_RDLCK, "F_RDLCK" }, \
/linux-4.1.27/fs/lockd/
Dxdr4.c123 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm4_decode_lock()
153 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm4_encode_testres()
Dxdr.c131 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm_decode_lock()
160 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm_encode_testres()
Dclntxdr.c263 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm_holder()
301 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
Dclnt4xdr.c268 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm4_holder()
307 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
/linux-4.1.27/fs/9p/
Dvfs_file.c172 case F_RDLCK: in v9fs_file_do_lock()
275 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/linux-4.1.27/arch/um/os-Linux/
Dfile.c553 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-4.1.27/fs/dlm/
Dplock.c368 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-4.1.27/fs/nfsd/
Dnfs4layouts.c168 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
Dnfs4state.c3989 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
5212 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
5533 file_lock->fl_type = F_RDLCK; in nfsd4_lock()
5675 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_flock.c689 getlk->fl_type = F_RDLCK; in ldlm_flock_completion_ast()
/linux-4.1.27/fs/cifs/
Dfile.c914 flock->fl_type = F_RDLCK; in cifs_lock_test()
1176 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1270 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1344 flock->fl_type = F_RDLCK; in cifs_getlk()
Dcifsfs.c832 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
Dcifssmb.c2500 pLockData->fl_type = F_RDLCK; in CIFSSMBPosixLock()
/linux-4.1.27/fs/nfs/
Dnfs4trace.h503 { F_RDLCK, "RDLCK" }, \
Dnfs4xdr.c1266 if (fl->fl_type == F_RDLCK) in nfs4_lock_type()
4837 fl->fl_type = F_RDLCK; in decode_lock_denied()
Dnfs4proc.c6004 case F_RDLCK: in nfs4_proc_lock()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c2423 case F_RDLCK: in ll_file_ioctl()
2722 case F_RDLCK: in ll_file_flock()
/linux-4.1.27/fs/fuse/
Dfile.c2078 case F_RDLCK: in convert_fuse_file_lock()