Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/uapi/asm-generic/
Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/Linux-v5.4/tools/include/uapi/asm-generic/
Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dfcntl.h36 #define F_RDLCK 01 macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/Linux-v5.4/fs/ceph/
Dlocks.c121 fl->fl_type = F_RDLCK; in ceph_lock_message()
251 if (F_RDLCK == fl->fl_type) in ceph_lock()
307 if (F_RDLCK == fl->fl_type) in ceph_flock()
367 case F_RDLCK: in lock_to_ceph_filelock()
/Linux-v5.4/fs/
Dlocks.c193 return F_RDLCK; in target_leasetype()
468 return F_RDLCK; in flock_translate_cmd()
507 case F_RDLCK: in assign_type()
1477 case F_RDLCK: in lease_clear_pending()
1525 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1587 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1782 if (arg == F_RDLCK) in check_conflicting_open()
1981 case F_RDLCK: in generic_setlease()
2329 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2430 case F_RDLCK: in check_fmode_for_setlk()
[all …]
Dread_write.c393 read_write == READ ? F_RDLCK : F_WRLCK); in rw_verify_area()
1768 write ? F_WRLCK : F_RDLCK); in remap_verify_area()
/Linux-v5.4/fs/lockd/
Dxdr.c130 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm_decode_lock()
159 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm_encode_testres()
Dxdr4.c122 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm4_decode_lock()
152 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm4_encode_testres()
Dclnt4xdr.c246 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm4_holder()
285 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
Dclntxdr.c241 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm_holder()
279 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
/Linux-v5.4/fs/afs/
Dflock.c114 unsigned int fl_type = F_RDLCK; in afs_next_locker()
132 (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) in afs_next_locker()
485 type = (fl->fl_type == F_RDLCK) ? AFS_LOCK_READ : AFS_LOCK_WRITE; in afs_do_setlk()
757 fl->fl_type = F_RDLCK; in afs_do_getlk()
/Linux-v5.4/fs/9p/
Dvfs_file.c158 case F_RDLCK: in v9fs_file_do_lock()
275 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/Linux-v5.4/include/trace/events/
Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
Dafs.h374 EM(F_RDLCK, "RDLCK") \
/Linux-v5.4/arch/um/os-Linux/
Dfile.c575 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/Linux-v5.4/fs/dlm/
Dplock.c365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/Linux-v5.4/fs/nfsd/
Dnfs4layouts.c196 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
Dnfs4state.c4789 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
6159 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
6498 fl_type = F_RDLCK; in nfsd4_lock()
6673 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/Linux-v5.4/fs/nfs/
Dnfs4trace.h783 TRACE_DEFINE_ENUM(F_RDLCK);
794 { F_RDLCK, "RDLCK" }, \
Dnfs4xdr.c1299 if (fl->fl_type == F_RDLCK) in nfs4_lock_type()
4923 fl->fl_type = F_RDLCK; in decode_lock_denied()
/Linux-v5.4/fs/cifs/
Dfile.c1021 flock->fl_type = F_RDLCK; in cifs_lock_test()
1296 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1390 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1465 flock->fl_type = F_RDLCK; in cifs_getlk()
Dcifsfs.c992 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/Linux-v5.4/fs/fuse/
Dfile.c2308 case F_RDLCK: in convert_fuse_file_lock()

12