Home
last modified time | relevance | path

Searched refs:F_WRLCK (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/fs/lockd/
H A Dxdr4.c162 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
182 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
207 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
H A Dxdr.c167 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
187 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
212 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
H A Dclnt4xdr.c284 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
360 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs()
383 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs()
406 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
H A Dclntxdr.c279 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
360 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_testargs()
383 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_lockargs()
406 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm_xdr_enc_cancargs()
H A Dsvcsubs.c76 return (lock->fl_type == F_WRLCK) ? O_WRONLY : O_RDONLY; in lock_to_openmode()
/openbmc/linux/fs/ceph/
H A Dlocks.c136 fl->fl_type = F_WRLCK; in ceph_lock_message()
281 else if (F_WRLCK == fl->fl_type) in ceph_lock()
343 else if (F_WRLCK == fl->fl_type) in ceph_flock()
410 case F_WRLCK: in lock_to_ceph_filelock()
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h34 #define F_WRLCK 02 macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/openbmc/qemu/util/
H A Dosdep.c204 .l_type = F_WRLCK, in qemu_probe_lock_ops()
258 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()
H A Doslib-posix.c127 .l_type = F_WRLCK, in qemu_write_pidfile()
/openbmc/linux/fs/dlm/
H A Dplock.c142 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock()
386 info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_cancel()
448 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get()
473 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A Dfcntl-lock.c132 int type = F_WRLCK; in main()
160 type = F_WRLCK; in main()
/openbmc/linux/fs/
H A Dlocks.c421 return F_WRLCK; in flock_translate_cmd()
445 case F_WRLCK: in assign_type()
845 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
847 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1496 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1612 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
1697 else if (arg != F_WRLCK) in check_conflicting_open()
1774 if (arg == F_WRLCK) in generic_add_lease()
1889 case F_WRLCK: in generic_setlease()
2219 && flock->l_type != F_WRLCK) in fcntl_getlk()
[all …]
/openbmc/linux/include/trace/misc/
H A Dfs.h99 { F_WRLCK, "WRLCK" }, \
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h166 #define F_WRLCK 1 macro
/openbmc/linux/include/uapi/asm-generic/
H A Dfcntl.h166 #define F_WRLCK 1 macro
/openbmc/linux/fs/ocfs2/
H A Dlocks.c30 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
/openbmc/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c71 fl.l_type = F_WRLCK; in main()
/openbmc/linux/fs/afs/
H A Dflock.c96 if (!exclusive && p->fl_type == F_WRLCK) in afs_grant_locks()
120 fl_type = F_WRLCK; in afs_next_locker()
133 (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) in afs_next_locker()
748 fl->fl_type = F_WRLCK; in afs_do_getlk()
/openbmc/libpldm/src/requester/
H A Dinstance-id.c108 .l_type = F_WRLCK,
/openbmc/linux/fs/9p/
H A Dvfs_file.c143 case F_WRLCK: in v9fs_file_do_lock()
260 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
/openbmc/linux/include/trace/events/
H A Dfilelock.h35 { F_WRLCK, "F_WRLCK" }, \
/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.patch136 pub const F_WRLCK: ::c_int = 1;
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()

12