Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/make/make/
H A D0003-posixfcn-fcntl-gnulib-make-emulated.patch35 -# define F_WRLCK 1
38 +# ifndef F_WRLCK
39 +# define F_WRLCK 1
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dclnt4xdr.c285 fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
367 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_testargs()
390 encode_bool(xdr, lock->fl.fl_type == F_WRLCK); in nlm4_xdr_enc_lockargs()
413 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 Dxdr.c196 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs()
224 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs()
245 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs()
H A Dxdr4.c193 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs()
221 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs()
242 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs()
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dlocks.c123 fl->fl_type = F_WRLCK; in ceph_lock_message()
268 else if (F_WRLCK == fl->fl_type) in ceph_lock()
330 else if (F_WRLCK == fl->fl_type) in ceph_flock()
397 case F_WRLCK: in lock_to_ceph_filelock()
/OK3568_Linux_fs/kernel/fs/
H A Dlocks.c470 return F_WRLCK; in flock_translate_cmd()
508 case F_WRLCK: in assign_type()
908 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
910 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1616 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1732 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
1814 else if (arg != F_WRLCK) in check_conflicting_open()
1864 if (is_deleg && arg == F_WRLCK) { in generic_add_lease()
1898 if (arg == F_WRLCK) in generic_add_lease()
2012 case F_WRLCK: in generic_setlease()
[all …]
H A Dremap_range.c116 write ? F_WRLCK : F_RDLCK); in remap_verify_area()
/OK3568_Linux_fs/kernel/arch/parisc/include/uapi/asm/
H A Dfcntl.h34 #define F_WRLCK 02 macro
/OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dplock.c122 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_lock()
333 op->info.ex = (fl->fl_type == F_WRLCK); in dlm_posix_get()
364 fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/OK3568_Linux_fs/kernel/include/uapi/asm-generic/
H A Dfcntl.h167 #define F_WRLCK 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm-generic/
H A Dfcntl.h167 #define F_WRLCK 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/asm-generic/
H A Dfcntl.h167 #define F_WRLCK 1 macro
/OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/
H A Dfcntl.h166 #define F_WRLCK 1 macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dlocks.c31 if (fl->fl_type == F_WRLCK) in ocfs2_do_flock()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dfcntl-linux.h224 # define F_WRLCK 1 /* Write lock. */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dfcntl-linux.h224 # define F_WRLCK 1 /* Write lock. */ macro
/OK3568_Linux_fs/kernel/fs/9p/
H A Dvfs_file.c161 case F_WRLCK: in v9fs_file_do_lock()
278 fl->fl_type = F_WRLCK; in v9fs_file_getlock()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dfilelock.h35 { F_WRLCK, "F_WRLCK" }, \
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dfile.c579 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dwrite.c1280 fl->fl_type == F_WRLCK; in is_whole_file_wrlock()
1318 if (fl->fl_type == F_WRLCK) in nfs_can_extend_write()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dfile.c1055 flock->fl_type = F_WRLCK; in cifs_lock_test()
1407 if (flock->fl_type == F_WRLCK) { in cifs_read_flock()
1479 flock->fl_type = F_WRLCK; in cifs_getlk()
1496 flock->fl_type = F_WRLCK; in cifs_getlk()

12