Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/openbmc/linux/include/uapi/asm-generic/
H A Dfcntl.h164 #ifndef F_RDLCK
165 #define F_RDLCK 0 macro
/openbmc/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c48 fl.l_type = F_RDLCK; in main()
60 fl.l_type = F_RDLCK; in main()
/openbmc/libpldm/src/requester/
H A Dinstance-id.c102 .l_type = F_RDLCK,
191 if (flop.l_type != F_RDLCK) { in pldm_instance_id_alloc()
/openbmc/linux/fs/ceph/
H A 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()
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h33 #define F_RDLCK 01 macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h48 #define F_RDLCK 1 macro
/openbmc/linux/fs/
H A 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 …]
/openbmc/linux/fs/lockd/
H A 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()
H 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()
H A 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()
H 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()
/openbmc/linux/include/trace/misc/
H A Dfs.h98 { F_RDLCK, "RDLCK" }, \
/openbmc/linux/fs/afs/
H 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()
/openbmc/qemu/util/
H A Dosdep.c258 return qemu_lock_fcntl(fd, start, len, exclusive ? F_WRLCK : F_RDLCK); in qemu_lock_fd()
273 .l_type = exclusive ? F_WRLCK : F_RDLCK, in qemu_lock_fd_test()
/openbmc/linux/fs/9p/
H A Dvfs_file.c140 case F_RDLCK: in v9fs_file_do_lock()
257 fl->fl_type = F_RDLCK; in v9fs_file_getlock()
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A Dfcntl-lock.c156 type = F_RDLCK; in main()
/openbmc/linux/include/trace/events/
H A Dfilelock.h34 { F_RDLCK, "F_RDLCK" }, \
H A Dafs.h358 EM(F_RDLCK, "RDLCK") \
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch135 pub const F_RDLCK: ::c_int = 0;
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/openbmc/linux/fs/dlm/
H A Dplock.c473 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/openbmc/linux/fs/nfsd/
H A Dnfs4layouts.c197 fl->fl_type = F_RDLCK; in nfsd4_layout_setlease()
/openbmc/linux/fs/smb/client/
H A Dfile.c1415 flock->fl_type = F_RDLCK; in cifs_lock_test()
1687 if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) in cifs_push_posix_locks()
1786 } else if (flock->fl_type == F_RDLCK) { in cifs_read_flock()
1863 flock->fl_type = F_RDLCK; in cifs_getlk()

12