Home
last modified time | relevance | path

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

12

/linux-6.15/fs/lockd/
H A Dxdr4.c161 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_testargs()
181 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_lockargs()
206 argp->lock.fl.c.flc_type = F_WRLCK; in nlm4svc_decode_cancargs()
H A Dxdr.c167 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_testargs()
187 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_lockargs()
212 argp->lock.fl.c.flc_type = F_WRLCK; in nlmsvc_decode_cancargs()
H A Dclnt4xdr.c284 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm4_holder()
360 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_testargs()
383 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_lockargs()
406 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm4_xdr_enc_cancargs()
H A Dclntxdr.c280 fl->c.flc_type = exclusive != 0 ? F_WRLCK : F_RDLCK; in decode_nlm_holder()
361 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_testargs()
384 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_lockargs()
407 encode_bool(xdr, lock->fl.c.flc_type == F_WRLCK); in nlm_xdr_enc_cancargs()
/linux-6.15/arch/parisc/include/uapi/asm/
H A Dfcntl.h34 #define F_WRLCK 02 macro
/linux-6.15/arch/alpha/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux-6.15/fs/
H A Dlocks.c457 return F_WRLCK; in flock_translate_cmd()
481 case F_WRLCK: in assign_type()
889 if (sys_flc->flc_type == F_WRLCK) in locks_conflict()
891 if (caller_flc->flc_type == F_WRLCK) in locks_conflict()
1667 if (flc && flc->flc_type == F_WRLCK) in lease_get_mtime()
1752 else if (arg != F_WRLCK) in check_conflicting_open()
1833 if (arg == F_WRLCK) in generic_add_lease()
1936 case F_WRLCK: in generic_setlease()
2283 && flock->l_type != F_WRLCK) in fcntl_getlk()
2391 case F_WRLCK: in check_fmode_for_setlk()
[all …]
/linux-6.15/include/trace/misc/
H A Dfs.h99 { F_WRLCK, "WRLCK" }, \
/linux-6.15/include/uapi/asm-generic/
H A Dfcntl.h165 #define F_WRLCK 1 macro
/linux-6.15/tools/testing/selftests/filelock/
H A Dofdlocks.c71 fl.l_type = F_WRLCK; in main()
/linux-6.15/fs/9p/
H A Dvfs_file.c142 case F_WRLCK: in v9fs_file_do_lock()
260 fl->c.flc_type = F_WRLCK; in v9fs_file_getlock()
/linux-6.15/fs/ceph/
H A Dlocks.c138 fl->c.flc_type = F_WRLCK; in ceph_lock_message()
419 case F_WRLCK: in lock_to_ceph_filelock()
/linux-6.15/include/trace/events/
H A Dfilelock.h35 { F_WRLCK, "F_WRLCK" }, \
H A Dafs.h448 EM(F_WRLCK, "WRLCK") \
/linux-6.15/include/linux/
H A Dfilelock.h175 return fl->c.flc_type == F_WRLCK; in lock_is_write()
/linux-6.15/fs/afs/
H A Dflock.c120 type = F_WRLCK; in afs_next_locker()
748 fl->c.flc_type = F_WRLCK; 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/smb/client/
H A Dfile.c1612 flock->c.flc_type = F_WRLCK; in cifs_lock_test()
2049 flock->c.flc_type = F_WRLCK; in cifs_getlk()
2066 flock->c.flc_type = F_WRLCK; in cifs_getlk()
H A Dcifsfs.c1099 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
/linux-6.15/tools/hv/
H A Dhv_kvp_daemon.c135 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
/linux-6.15/security/apparmor/
H A Dlsm.c554 if (cmd == F_WRLCK) in apparmor_file_lock()
/linux-6.15/fs/nfsd/
H A Dnfs4state.c5848 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
8233 type = F_WRLCK; in nfsd4_lock()
8431 file_lock->c.flc_type = F_WRLCK; in nfsd4_lockt()
9190 if (fl->c.flc_type == F_WRLCK) { in nfsd4_deleg_getattr_conflict()
/linux-6.15/fs/fuse/
H A Dfile.c2694 case F_WRLCK: in convert_fuse_file_lock()

12