Home
last modified time | relevance | path

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

12

/linux-6.15/include/uapi/asm-generic/
H A Dfcntl.h163 #ifndef F_RDLCK
164 #define F_RDLCK 0 macro
/linux-6.15/tools/testing/selftests/filelock/
H A Dofdlocks.c48 fl.l_type = F_RDLCK; in main()
60 fl.l_type = F_RDLCK; in main()
/linux-6.15/arch/parisc/include/uapi/asm/
H A Dfcntl.h33 #define F_RDLCK 01 macro
/linux-6.15/arch/alpha/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/linux-6.15/include/trace/misc/
H A Dfs.h98 { F_RDLCK, "RDLCK" }, \
/linux-6.15/fs/lockd/
H A Dxdr4.c92 fl->c.flc_type = F_RDLCK; in svcxdr_decode_lock()
104 if (xdr_stream_encode_bool(xdr, fl->c.flc_type != F_RDLCK) < 0) in svcxdr_encode_holder()
H A Dxdr.c92 fl->c.flc_type = F_RDLCK; in svcxdr_decode_lock()
110 if (xdr_stream_encode_bool(xdr, fl->c.flc_type != F_RDLCK) < 0) in svcxdr_encode_holder()
H A Dclnt4xdr.c246 encode_bool(xdr, lock->fl.c.flc_type == F_RDLCK); in encode_nlm4_holder()
284 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
H A Dclntxdr.c242 encode_bool(xdr, lock->fl.c.flc_type == F_RDLCK); in encode_nlm_holder()
280 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
/linux-6.15/fs/
H A Dlocks.c92 return F_RDLCK; in target_leasetype()
455 return F_RDLCK; in flock_translate_cmd()
480 case F_RDLCK: in assign_type()
1436 case F_RDLCK: in lease_clear_pending()
1484 lease_modify(fl, F_RDLCK, dispose); in time_out_leases()
1750 if (arg == F_RDLCK) in check_conflicting_open()
1935 case F_RDLCK: in generic_setlease()
2282 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk()
2387 case F_RDLCK: in check_fmode_for_setlk()
2491 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk64()
[all …]
/linux-6.15/fs/9p/
H A Dvfs_file.c139 case F_RDLCK: in v9fs_file_do_lock()
257 fl->c.flc_type = F_RDLCK; in v9fs_file_getlock()
/linux-6.15/fs/ceph/
H A Dlocks.c136 fl->c.flc_type = F_RDLCK; in ceph_lock_message()
416 case F_RDLCK: in lock_to_ceph_filelock()
/linux-6.15/include/trace/events/
H A Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
H A Dafs.h447 EM(F_RDLCK, "RDLCK") \
/linux-6.15/include/linux/
H A Dfilelock.h170 return fl->c.flc_type == F_RDLCK; in lock_is_read()
/linux-6.15/fs/afs/
H A Dflock.c115 unsigned int type = F_RDLCK; in afs_next_locker()
746 fl->c.flc_type = F_RDLCK; in afs_do_getlk()
/linux-6.15/arch/um/os-Linux/
H A Dfile.c591 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux-6.15/fs/dlm/
H A Dplock.c463 fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux-6.15/fs/nfsd/
H A Dnfs4layouts.c212 fl->c.flc_type = F_RDLCK; in nfsd4_layout_setlease()
H A Dnfs4state.c5848 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
7880 if (fl->c.flc_type != F_RDLCK) in nfs4_set_lock_denied()
8223 type = F_RDLCK; in nfsd4_lock()
8427 file_lock->c.flc_type = F_RDLCK; in nfsd4_lockt()
/linux-6.15/fs/smb/client/
H A Dfile.c1610 flock->c.flc_type = F_RDLCK; in cifs_lock_test()
1884 if (ftype == F_RDLCK || ftype == F_SHLCK) in cifs_push_posix_locks()
2061 flock->c.flc_type = F_RDLCK; in cifs_getlk()
H A Dcifsfs.c1098 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
/linux-6.15/fs/nfs/
H A Dnfs4proc.c7794 case F_RDLCK: in nfs4_proc_lock()
7819 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()
7837 case F_RDLCK: in nfs4_proc_setlease()
/linux-6.15/fs/fuse/
H A Dfile.c2693 case F_RDLCK: in convert_fuse_file_lock()

12