Home
last modified time | relevance | path

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

/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 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()
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.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()
1551 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1667 if (flc && flc->flc_type == F_WRLCK) in lease_get_mtime()
1686 * %F_WRLCK to indicate an exclusive lease is held.
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()
[all...]
/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/include/trace/events/
H A Dfilelock.h35 { F_WRLCK, "F_WRLCK" }, \
H A Dafs.h448 EM(F_WRLCK, "WRLCK") \
/linux/include/linux/
H A Dfilelock.h175 return fl->c.flc_type == F_WRLCK; in lock_is_write()
/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/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.c1620 flock->c.flc_type = F_WRLCK; in cifs_lock_test()
1984 cifs_dbg(FYI, "F_WRLCK\n"); in cifs_read_flock()
2057 flock->c.flc_type = F_WRLCK; in cifs_getlk()
2074 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()
H A Dcifssmb.c2174 pLockData->c.flc_type = F_WRLCK; in CIFSSMBPosixLock()
/linux/tools/hv/
H A Dhv_kvp_daemon.c136 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock()
/linux/fs/nfsd/
H A Dnfs4state.c5855 fl->c.flc_type = deleg_is_read(dp->dl_type) ? F_RDLCK : F_WRLCK; in nfs4_alloc_init_lease()
8286 type = F_WRLCK; in nfsd4_lock()
8484 file_lock->c.flc_type = F_WRLCK; in nfsd4_lockt()
9243 if (fl->c.flc_type == F_WRLCK) { in nfsd4_deleg_getattr_conflict()
/linux/fs/fuse/
H A Dfile.c2366 case F_WRLCK: in convert_fuse_file_lock()
/linux/fs/nfs/
H A Dnfs4proc.c7815 case F_WRLCK: in nfs4_proc_lock()
7855 case F_WRLCK: in nfs4_proc_setlease()
H A Dnfs4xdr.c5121 fl->c.flc_type = F_WRLCK; in decode_lock_denied()