Home
last modified time | relevance | path

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

12

/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux-5.19.10/arch/parisc/include/uapi/asm/
Dfcntl.h33 #define F_RDLCK 01 macro
/linux-5.19.10/fs/ceph/
Dlocks.c121 fl->fl_type = F_RDLCK; in ceph_lock_message()
266 if (F_RDLCK == fl->fl_type) in ceph_lock()
328 if (F_RDLCK == fl->fl_type) in ceph_flock()
394 case F_RDLCK: in lock_to_ceph_filelock()
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/linux-5.19.10/arch/sparc/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/linux-5.19.10/fs/
Dlocks.c88 return F_RDLCK; in target_leasetype()
418 return F_RDLCK; in flock_translate_cmd()
457 case F_RDLCK: in assign_type()
1381 case F_RDLCK: in lease_clear_pending()
1429 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1494 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1693 if (arg == F_RDLCK) in check_conflicting_open()
1892 case F_RDLCK: in generic_setlease()
2252 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2353 case F_RDLCK: in check_fmode_for_setlk()
[all …]
/linux-5.19.10/include/trace/events/
Dfs.h98 { F_RDLCK, "RDLCK" }, \
Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
Dafs.h556 EM(F_RDLCK, "RDLCK") \
/linux-5.19.10/fs/lockd/
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()
Dxdr4.c82 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
94 if (xdr_stream_encode_bool(xdr, fl->fl_type != F_RDLCK) < 0) in svcxdr_encode_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()
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()
/linux-5.19.10/fs/afs/
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.19.10/fs/9p/
Dvfs_file.c152 case F_RDLCK: in v9fs_file_do_lock()
269 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/linux-5.19.10/fs/dlm/
Dplock.c354 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-5.19.10/arch/um/os-Linux/
Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-5.19.10/fs/nfsd/
Dnfs4layouts.c197 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
Dnfs4state.c5195 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
6837 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
7179 fl_type = F_RDLCK; in nfsd4_lock()
7381 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/linux-5.19.10/fs/cifs/
Dfile.c1130 flock->fl_type = F_RDLCK; in cifs_lock_test()
1399 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1493 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1568 flock->fl_type = F_RDLCK; in cifs_getlk()
Dcifsfs.c1061 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux-5.19.10/fs/ksmbd/
Dvfs.c334 if (flock->fl_type == F_RDLCK) { in check_lock_range()
/linux-5.19.10/fs/fuse/
Dfile.c2463 case F_RDLCK: in convert_fuse_file_lock()
/linux-5.19.10/fs/nfs/
Dnfs4proc.c7533 case F_RDLCK: in nfs4_proc_lock()
7558 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7576 case F_RDLCK: in nfs4_proc_setlease()

12