Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/include/uapi/asm-generic/
Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/Linux-v6.6/include/uapi/asm-generic/
Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/Linux-v6.6/tools/testing/selftests/filelock/
Dofdlocks.c48 fl.l_type = F_RDLCK; in main()
60 fl.l_type = F_RDLCK; in main()
/Linux-v6.6/fs/ceph/
Dlocks.c134 fl->fl_type = F_RDLCK; in ceph_lock_message()
279 if (F_RDLCK == fl->fl_type) in ceph_lock()
341 if (F_RDLCK == fl->fl_type) in ceph_flock()
407 case F_RDLCK: in lock_to_ceph_filelock()
/Linux-v6.6/arch/parisc/include/uapi/asm/
Dfcntl.h33 #define F_RDLCK 01 macro
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/Linux-v6.6/arch/sparc/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/Linux-v6.6/fs/
Dlocks.c89 return F_RDLCK; in target_leasetype()
419 return F_RDLCK; in flock_translate_cmd()
444 case F_RDLCK: in assign_type()
1383 case F_RDLCK: in lease_clear_pending()
1431 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1496 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1695 if (arg == F_RDLCK) in check_conflicting_open()
1888 case F_RDLCK: in generic_setlease()
2218 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk()
2321 case F_RDLCK: in check_fmode_for_setlk()
[all …]
/Linux-v6.6/include/trace/misc/
Dfs.h98 { F_RDLCK, "RDLCK" }, \
/Linux-v6.6/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.c93 fl->fl_type = F_RDLCK; in svcxdr_decode_lock()
105 if (xdr_stream_encode_bool(xdr, fl->fl_type != F_RDLCK) < 0) in svcxdr_encode_holder()
Dclnt4xdr.c246 encode_bool(xdr, lock->fl.fl_type == F_RDLCK); in encode_nlm4_holder()
284 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-v6.6/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-v6.6/fs/9p/
Dvfs_file.c140 case F_RDLCK: in v9fs_file_do_lock()
257 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/Linux-v6.6/include/trace/events/
Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
Dafs.h556 EM(F_RDLCK, "RDLCK") \
/Linux-v6.6/arch/um/os-Linux/
Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/Linux-v6.6/fs/dlm/
Dplock.c473 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/Linux-v6.6/fs/nfsd/
Dnfs4layouts.c197 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
Dnfs4state.c5343 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
7229 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
7571 fl_type = F_RDLCK; in nfsd4_lock()
7774 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
8442 if (fl->fl_type == F_RDLCK) in nfsd4_deleg_getattr_conflict()
/Linux-v6.6/fs/smb/client/
Dfile.c1319 flock->fl_type = F_RDLCK; in cifs_lock_test()
1591 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1690 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1767 flock->fl_type = F_RDLCK; in cifs_getlk()
Dcifsfs.c1100 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/Linux-v6.6/fs/smb/server/
Dvfs.c343 if (flock->fl_type == F_RDLCK) { in check_lock_range()
/Linux-v6.6/fs/nfs/
Dnfs4proc.c7554 case F_RDLCK: in nfs4_proc_lock()
7579 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7597 case F_RDLCK: in nfs4_proc_setlease()

12