Lines Matching refs:pr_domain
803 os_atomic_inc(&prp->pr_domain->dom_refs, relaxed); in socreate_internal()
1261 mutex_held = so->so_proto->pr_domain->dom_mtx; in soclose_wait_locked()
1455 mutex_held = so->so_proto->pr_domain->dom_mtx; in soclose_locked()
1502 os_atomic_dec(&so->so_proto->pr_domain->dom_refs, relaxed); in soclose_locked()
1548 mutex_held = so->so_proto->pr_domain->dom_mtx; in soabort()
3131 if (pr->pr_domain->dom_externalize != NULL) { in soreceive_ctl()
3180 if (pr->pr_domain->dom_externalize != NULL && in soreceive_ctl()
3191 error = (*pr->pr_domain->dom_externalize)(cm); in soreceive_ctl()
4571 mutex_held = so->so_proto->pr_domain->dom_mtx; in sorflush()
4649 if ((pr->pr_flags & PR_RIGHTS) && pr->pr_domain->dom_dispose) { in sorflush()
4650 (*pr->pr_domain->dom_dispose)(asb.sb_mb); in sorflush()
7189 return so->so_proto->pr_domain->dom_mtx; in socket_getlock()
7204 LCK_MTX_ASSERT(so->so_proto->pr_domain->dom_mtx, in socket_lock()
7207 lck_mtx_lock(so->so_proto->pr_domain->dom_mtx); in socket_lock()
7224 mutex_held = so->so_proto->pr_domain->dom_mtx; in socket_lock_assert_owned()
7238 mtx = so->so_proto->pr_domain->dom_mtx; in socket_try_lock()
7260 mutex_held = so->so_proto->pr_domain->dom_mtx; in socket_unlock()
7294 mutex_held = so->so_proto->pr_domain->dom_mtx; in sofree()