Home
last modified time | relevance | path

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

12

/linux-5.15/tools/include/uapi/asm-generic/
A Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/linux-5.15/include/uapi/asm-generic/
A Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux-5.15/arch/parisc/include/uapi/asm/
H A Dfcntl.h33 #define F_RDLCK 01 macro
/linux-5.15/arch/alpha/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux-5.15/fs/ceph/
H A Dlocks.c121 fl->fl_type = F_RDLCK; in ceph_lock_message()
263 if (F_RDLCK == fl->fl_type) in ceph_lock()
325 if (F_RDLCK == fl->fl_type) in ceph_flock()
391 case F_RDLCK: in lock_to_ceph_filelock()
/linux-5.15/arch/sparc/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux-5.15/fs/
H A Dlocks.c193 return F_RDLCK; in target_leasetype()
468 return F_RDLCK; in flock_translate_cmd()
507 case F_RDLCK: in assign_type()
1406 case F_RDLCK: in lease_clear_pending()
1454 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1519 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1718 if (arg == F_RDLCK) in check_conflicting_open()
1917 case F_RDLCK: in generic_setlease()
2266 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2367 case F_RDLCK: in check_fmode_for_setlk()
[all …]
/linux-5.15/fs/lockd/
H A Dxdr4.c91 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
109 if (xdr_stream_encode_bool(xdr, fl->fl_type != F_RDLCK) < 0) in svcxdr_encode_holder()
H A Dxdr.c92 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
110 if (xdr_stream_encode_bool(xdr, fl->fl_type != F_RDLCK) < 0) in svcxdr_encode_holder()
H A 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()
H A 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-5.15/fs/afs/
H A Dflock.c115 unsigned int fl_type = F_RDLCK; in afs_next_locker()
133 (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) in afs_next_locker()
474 type = (fl->fl_type == F_RDLCK) ? AFS_LOCK_READ : AFS_LOCK_WRITE; in afs_do_setlk()
746 fl->fl_type = F_RDLCK; in afs_do_getlk()
/linux-5.15/fs/9p/
H A Dvfs_file.c155 case F_RDLCK: in v9fs_file_do_lock()
272 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/linux-5.15/include/trace/events/
A Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
A Dafs.h556 EM(F_RDLCK, "RDLCK") \
/linux-5.15/fs/dlm/
H A Dplock.c365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-5.15/arch/um/os-Linux/
H A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-5.15/fs/nfsd/
A Dnfs4layouts.c196 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
H A Dnfs4state.c5036 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
6573 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
6918 fl_type = F_RDLCK; in nfsd4_lock()
7104 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/linux-5.15/fs/cifs/
H A Dfile.c1124 flock->fl_type = F_RDLCK; in cifs_lock_test()
1393 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1487 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1562 flock->fl_type = F_RDLCK; in cifs_getlk()
H A Dcifsfs.c1036 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux-5.15/fs/nfs/
A Dnfs4trace.h967 TRACE_DEFINE_ENUM(F_RDLCK);
978 { F_RDLCK, "RDLCK" }, \
H A Dnfs4proc.c7447 case F_RDLCK: in nfs4_proc_lock()
7472 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7490 case F_RDLCK: in nfs4_proc_setlease()
/linux-5.15/fs/ksmbd/
A Dvfs.c335 if (flock->fl_type == F_RDLCK) { in check_lock_range()
/linux-5.15/fs/fuse/
H A Dfile.c2423 case F_RDLCK: in convert_fuse_file_lock()

12