Searched refs:pr_domain (Results 1 – 21 of 21) sorted by relevance
177 mutex_held = so->so_proto->pr_domain->dom_mtx; in raw_uabort()230 mutex_held = so->so_proto->pr_domain->dom_mtx; in raw_udetach()289 mutex_held = so->so_proto->pr_domain->dom_mtx; in raw_usend()345 mutex_held = so->so_proto->pr_domain->dom_mtx; in raw_ushutdown()
580 (so == NULL || so->so_proto == NULL || so->so_proto->pr_domain == NULL || \581 …(so->so_proto->pr_domain->dom_family != PF_INET && so->so_proto->pr_domain->dom_family != PF_INET6…1554 mutex_held = so->so_proto->pr_domain->dom_mtx; in cfil_acquire_sockbuf()2238 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL) { in cfil_ctl_getopt()2247 sock_info->cfs_sock_family = sock->so_proto->pr_domain->dom_family; in cfil_ctl_getopt()3385 if (so->so_proto == NULL || so->so_proto->pr_domain == NULL) { in cfil_dispatch_attach_event()3435 msg_attached->cfs_sock_family = so->so_proto->pr_domain->dom_family; in cfil_dispatch_attach_event()5567 mutex_held = so->so_proto->pr_domain->dom_mtx; in cfil_sock_close_wait()5851 if (so != NULL && so->so_proto != NULL && so->so_proto->pr_domain != NULL) { in sysctl_cfil_sock_list()5865 stat.cfs_sock_family = so->so_proto->pr_domain->dom_family; in sysctl_cfil_sock_list()[all …]
157 struct domain *pr_domain; /* domain protocol a member of */ member
360 _CASSERT(offsetof(struct ip6protosw, pr_domain) == in in6_dinit()361 offsetof(struct protosw, pr_domain)); in in6_dinit()
406 VERIFY(pr->pr_domain == dp); in ip6_init()
82 if (so->so_proto->pr_domain) { in fill_common_sockinfo()115 so->so_proto->pr_domain == NULL) { in fill_socketinfo()
162 VERIFY(pp->pr_domain == NULL); in attach_proto()167 pp->pr_domain = dp; in attach_proto()179 VERIFY(pp->pr_domain == dp); in detach_proto()184 pp->pr_domain = NULL; in detach_proto()396 if (pp->pr_domain != NULL) { in net_add_proto()
108 mutex_held = sock->so_proto->pr_domain->dom_mtx; in sock_accept_common()310 mutex_held = sock->so_proto->pr_domain->dom_mtx; in sock_connect()380 mutex_held = sock->so_proto->pr_domain->dom_mtx; in sock_connectwait()606 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL || in sock_settclassopt()685 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL) { in sock_gettclassopt()
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()[all …]
335 mutex_held = head->so_proto->pr_domain->dom_mtx; in sonewconn_internal()452 os_atomic_inc(&so->so_proto->pr_domain->dom_refs, relaxed); in sonewconn_internal()570 mutex_held = so->so_proto->pr_domain->dom_mtx; in sbwait()1025 mutex_held = sb->sb_so->so_proto->pr_domain->dom_mtx; in sbcheck()2550 mutex_held = so->so_proto->pr_domain->dom_mtx; in sblock()2648 mutex_held = so->so_proto->pr_domain->dom_mtx; in sbunlock()
2581 if (so->so_proto->pr_domain != localdomain || in unp_gc()2882 return so->so_proto->pr_domain->dom_mtx; in unp_getlock()
1134 mutex_held = so->so_proto->pr_domain->dom_mtx; in vsock_connect()
504 mutex_held = head->so_proto->pr_domain->dom_mtx; in accept_nocancel()1039 mutex_held = so->so_proto->pr_domain->dom_mtx; in connectit()1113 mutex_held = so->so_proto->pr_domain->dom_mtx; in connectitx()
2121 return so->so_proto->pr_domain->dom_mtx;
173 struct domain *pr_domain; /* domain protocol a member of */ member257 struct domain *pr_domain; /* domain protocol a member of */ member
713 #define SOCK_DOM(so) ((so)->so_proto->pr_domain->dom_family)1008 …oto != NULL && so->so_proto->pr_domain != NULL && (so->so_proto->pr_domain->dom_family == AF_INET …
1176 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); in rip_unlock()1192 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); in rip_unlock()
514 VERIFY(pr->pr_domain == dp); in ip_init()
3337 return so->so_proto->pr_domain->dom_mtx; in tcp_getlock()
2871 if (fd_cb->so->so_proto->pr_domain->dom_family == AF_INET6) { in flow_divert_handle_data()
573 domain = so.so_proto.pr_domain604 domain = so.so_proto.pr_domain