Home
last modified time | relevance | path

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

12

/linux/fs/lockd/
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()
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h34 #define F_WRLCK 02 macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h49 #define F_WRLCK 2 macro
/linux/fs/
H A Dlocks.c466 return F_WRLCK; in flock_translate_cmd()
490 case F_WRLCK: in assign_type()
606 else if (arg != F_WRLCK) in lease_open_conflict()
938 if (sys_flc->flc_type == F_WRLCK) in locks_conflict()
940 if (caller_flc->flc_type == F_WRLCK) in locks_conflict()
1607 new_fl = lease_alloc(NULL, type, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1722 if (flc && flc->flc_type == F_WRLCK) in lease_get_mtime()
1857 if (arg == F_WRLCK) in generic_add_lease()
1964 case F_WRLCK: in generic_setlease()
2345 && flock->l_type != F_WRLCK) in fcntl_getlk()
[all …]
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h165 #define F_WRLCK 1 macro
/linux/include/trace/misc/
H A Dfs.h99 { F_WRLCK, "WRLCK" }, \
/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c71 fl.l_type = F_WRLCK; in main()
/linux/fs/9p/
H A Dvfs_file.c147 case F_WRLCK: in v9fs_file_do_lock()
265 fl->c.flc_type = F_WRLCK; in v9fs_file_getlock()
/linux/fs/ceph/
H A Dlocks.c138 fl->c.flc_type = F_WRLCK; in ceph_lock_message()
422 case F_WRLCK: in lock_to_ceph_filelock()
/linux/include/trace/events/
H A Dfilelock.h36 { F_WRLCK, "F_WRLCK" }, \
H A Dafs.h454 EM(F_WRLCK, "WRLCK") \
/linux/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/include/linux/
H A Dfilelock.h178 return fl->c.flc_type == F_WRLCK; in lock_is_write()
/linux/arch/um/os-Linux/
H A Dfile.c576 int type = excl ? F_WRLCK : F_RDLCK; in os_lock_file()
/linux/fs/dlm/
H A Dplock.c463 fl->c.flc_type = (op->info.ex) ? F_WRLCK : F_RDLCK; in dlm_posix_get()
/linux/fs/smb/client/
H A Dfile.c1698 flock->c.flc_type = F_WRLCK; in cifs_lock_test()
2135 flock->c.flc_type = F_WRLCK; in cifs_getlk()
2152 flock->c.flc_type = F_WRLCK; in cifs_getlk()
H A Dcifsfs.c1155 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
/linux/tools/hv/
H A Dhv_kvp_daemon.c136 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
/linux/security/apparmor/
H A Dlsm.c556 if (cmd == F_WRLCK) in apparmor_file_lock()
/linux/fs/nfsd/
H A Dnfs4state.c5923 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
8393 type = F_WRLCK; in nfsd4_lock()
8591 file_lock->c.flc_type = F_WRLCK; in nfsd4_lockt()
9372 if (fl->c.flc_type == F_WRLCK) { in nfsd4_deleg_getattr_conflict()
/linux/fs/fuse/
H A Dfile.c2437 case F_WRLCK: in convert_fuse_file_lock()
/linux/fs/smb/server/
H A Dsmb2pdu.c7287 flock->c.flc_type = F_WRLCK; in smb2_set_flock_flags()
7300 flock->c.flc_type = F_WRLCK; in smb2_set_flock_flags()

12