Searched refs:F_WRLCK (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dfile_lock.c51 fl.l_type = F_WRLCK;
H A Dcascade_fcntl.c135 fl.l_type = F_WRLCK;
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_lockf.c463 if (lock->lf_type == F_WRLCK)
556 lock->lf_type == F_WRLCK) {
562 lock->lf_type = F_WRLCK;
658 overlap->lf_type == F_WRLCK)
698 overlap->lf_type == F_WRLCK) {
936 if ((lock->lf_type == F_WRLCK || overlap->lf_type == F_WRLCK))
1241 lock->lf_type == F_WRLCK ? "exclusive" :
1247 lock->lf_type == F_WRLCK ? "exclusive" :
1288 lf->lf_type == F_WRLCK
[all...]
H A Dkern_descrip.c901 case F_WRLCK:
965 case F_WRLCK:
4754 lf.l_type = F_WRLCK;
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h328 #define F_WRLCK 3 /* exclusive or write lock */ macro
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs4_vnops.c3190 if ((nflp1->nfl_type != F_WRLCK) && (nflp2->nfl_type != F_WRLCK))
3225 ((nflp->nfl_type == F_WRLCK) ?
3228 ((nflp->nfl_type == F_WRLCK) ?
3366 nfsm_chain_add_32(error, &nmreq, (type == F_WRLCK) ? NFS_LOCK_TYPE_WRITE : NFS_LOCK_TYPE_READ);
3440 nfsm_chain_add_32(error, &nmreq, (fl->l_type == F_WRLCK) ? NFS_LOCK_TYPE_WRITE : NFS_LOCK_TYPE_READ);
3466 fl->l_type = (val == NFS_LOCK_TYPE_WRITE) ? F_WRLCK : F_RDLCK;
3515 ((fl->l_type == F_WRLCK) || (nflp->nfl_type == F_WRLCK)))
3582 if ((type != F_RDLCK) && (type != F_WRLCK))
[all...]
H A Dnfs_lock.c927 msgreq->lmr_msg.lm_fl.l_type = F_WRLCK;
H A Dnfs_node.c892 nmp->nm_funcs->nf_unlock_rpc(np, nflp->nfl_owner, F_WRLCK, nflp->nfl_start, nflp->nfl_end, R_RECOVER,
H A Dnfs_syscalls.c619 lf.l_type = F_WRLCK;
H A Dnfs_vnops.c1171 nfs4_unlock_rpc(np, nlop, F_WRLCK, 0, UINT64_MAX,
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c2581 locktype = (fileflags & O_EXLOCK) ? F_WRLCK : F_RDLCK;
3286 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
H A Dvfs_syscalls.c3063 lf.l_type = F_WRLCK;

Completed in 184 milliseconds