Home
last modified time | relevance | path

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

12

/linux/tools/include/uapi/asm-generic/
A Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/linux/include/uapi/asm-generic/
A Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux/fs/ceph/
A 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/arch/parisc/include/uapi/asm/
A Dfcntl.h33 #define F_RDLCK 01 macro
/linux/arch/alpha/include/uapi/asm/
A Dfcntl.h48 #define F_RDLCK 1 macro
/linux/fs/
A Dlocks.c87 return F_RDLCK; in target_leasetype()
360 return F_RDLCK; in flock_translate_cmd()
399 case F_RDLCK: in assign_type()
1296 case F_RDLCK: in lease_clear_pending()
1344 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1608 if (arg == F_RDLCK) in check_conflicting_open()
1807 case F_RDLCK: in generic_setlease()
2167 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2268 case F_RDLCK: in check_fmode_for_setlk()
2373 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk64()
[all …]
/linux/arch/sparc/include/uapi/asm/
A Dfcntl.h48 #define F_RDLCK 1 macro
/linux/fs/lockd/
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()
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()
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()
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/include/trace/events/
A Dfs.h98 { F_RDLCK, "RDLCK" }, \
A Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
A Dafs.h556 EM(F_RDLCK, "RDLCK") \
/linux/fs/afs/
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/fs/9p/
A Dvfs_file.c153 case F_RDLCK: in v9fs_file_do_lock()
270 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/linux/fs/dlm/
A Dplock.c365 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux/arch/um/os-Linux/
A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux/fs/nfsd/
A Dnfs4layouts.c197 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
A Dnfs4state.c5041 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
6578 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
6923 fl_type = F_RDLCK; in nfsd4_lock()
7109 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/linux/fs/cifs/
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()
A Dcifsfs.c1035 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux/fs/ksmbd/
A Dvfs.c335 if (flock->fl_type == F_RDLCK) { in check_lock_range()
/linux/fs/nfs/
A Dnfs4proc.c7382 case F_RDLCK: in nfs4_proc_lock()
7407 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7425 case F_RDLCK: in nfs4_proc_setlease()
/linux/fs/fuse/
A Dfile.c2432 case F_RDLCK: in convert_fuse_file_lock()

Completed in 81 milliseconds

12