Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/include/uapi/asm-generic/
Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux-6.1.9/include/uapi/asm-generic/
Dfcntl.h165 #ifndef F_RDLCK
166 #define F_RDLCK 0 macro
/linux-6.1.9/arch/parisc/include/uapi/asm/
Dfcntl.h33 #define F_RDLCK 01 macro
/linux-6.1.9/fs/ceph/
Dlocks.c117 fl->fl_type = F_RDLCK; in ceph_lock_message()
262 if (F_RDLCK == fl->fl_type) in ceph_lock()
324 if (F_RDLCK == fl->fl_type) in ceph_flock()
390 case F_RDLCK: in lock_to_ceph_filelock()
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dfcntl.h48 #define F_RDLCK 1 macro
/linux-6.1.9/fs/
Dlocks.c88 return F_RDLCK; in target_leasetype()
418 return F_RDLCK; in flock_translate_cmd()
443 case F_RDLCK: in assign_type()
1367 case F_RDLCK: in lease_clear_pending()
1415 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1480 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1679 if (arg == F_RDLCK) in check_conflicting_open()
1878 case F_RDLCK: in generic_setlease()
2232 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2333 case F_RDLCK: in check_fmode_for_setlk()
[all …]
/linux-6.1.9/include/trace/events/
Dfs.h98 { F_RDLCK, "RDLCK" }, \
Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
Dafs.h556 EM(F_RDLCK, "RDLCK") \
/linux-6.1.9/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()
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-6.1.9/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-6.1.9/fs/9p/
Dvfs_file.c153 case F_RDLCK: in v9fs_file_do_lock()
270 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/linux-6.1.9/fs/dlm/
Dplock.c360 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-6.1.9/arch/um/os-Linux/
Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-6.1.9/fs/nfsd/
Dnfs4layouts.c197 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
Dnfs4state.c5305 fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; in nfs4_alloc_init_lease()
7048 if (fl->fl_type != F_RDLCK) in nfs4_set_lock_denied()
7390 fl_type = F_RDLCK; in nfsd4_lock()
7593 file_lock->fl_type = F_RDLCK; in nfsd4_lockt()
/linux-6.1.9/fs/cifs/
Dfile.c1190 flock->fl_type = F_RDLCK; in cifs_lock_test()
1462 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1561 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1638 flock->fl_type = F_RDLCK; in cifs_getlk()
Dcifsfs.c1088 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux-6.1.9/fs/ksmbd/
Dvfs.c334 if (flock->fl_type == F_RDLCK) { in check_lock_range()
/linux-6.1.9/fs/fuse/
Dfile.c2462 case F_RDLCK: in convert_fuse_file_lock()
/linux-6.1.9/fs/nfs/
Dnfs4proc.c7547 case F_RDLCK: in nfs4_proc_lock()
7572 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7590 case F_RDLCK: in nfs4_proc_setlease()

12