Home
last modified time | relevance | path

Searched refs:pr_domain (Results 1 – 21 of 21) sorted by relevance

/xnu-8796.141.3/bsd/net/
H A Draw_usrreq.c177 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()
H A Dcontent_filter.c577 (so == NULL || so->so_proto == NULL || so->so_proto->pr_domain == NULL || \
578 …(so->so_proto->pr_domain->dom_family != PF_INET && so->so_proto->pr_domain->dom_family != PF_INET6…
1520 mutex_held = so->so_proto->pr_domain->dom_mtx; in cfil_acquire_sockbuf()
2204 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL) { in cfil_ctl_getopt()
2213 sock_info->cfs_sock_family = sock->so_proto->pr_domain->dom_family; in cfil_ctl_getopt()
3225 if (so->so_proto == NULL || so->so_proto->pr_domain == NULL) { in cfil_dispatch_attach_event()
3275 msg_attached->cfs_sock_family = so->so_proto->pr_domain->dom_family; in cfil_dispatch_attach_event()
5390 mutex_held = so->so_proto->pr_domain->dom_mtx; in cfil_sock_close_wait()
5674 if (so != NULL && so->so_proto != NULL && so->so_proto->pr_domain != NULL) { in sysctl_cfil_sock_list()
5688 stat.cfs_sock_family = so->so_proto->pr_domain->dom_family; in sysctl_cfil_sock_list()
[all …]
/xnu-8796.141.3/bsd/netinet6/
H A Dip6protosw.h157 struct domain *pr_domain; /* domain protocol a member of */ member
H A Din6_proto.c360 _CASSERT(offsetof(struct ip6protosw, pr_domain) == in in6_dinit()
361 offsetof(struct protosw, pr_domain)); in in6_dinit()
H A Dip6_input.c403 VERIFY(pr->pr_domain == dp); in ip6_init()
/xnu-8796.141.3/bsd/kern/
H A Dsocket_info.c82 if (so->so_proto->pr_domain) { in fill_common_sockinfo()
115 so->so_proto->pr_domain == NULL) { in fill_socketinfo()
H A Duipc_domain.c157 VERIFY(pp->pr_domain == NULL); in attach_proto()
162 pp->pr_domain = dp; in attach_proto()
174 VERIFY(pp->pr_domain == dp); in detach_proto()
179 pp->pr_domain = NULL; in detach_proto()
391 if (pp->pr_domain != NULL) { in net_add_proto()
H A Dkpi_socket.c108 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()
H A Duipc_socket.c800 atomic_add_32(&prp->pr_domain->dom_refs, 1); in socreate_internal()
1258 mutex_held = so->so_proto->pr_domain->dom_mtx; in soclose_wait_locked()
1452 mutex_held = so->so_proto->pr_domain->dom_mtx; in soclose_locked()
1499 atomic_add_32(&so->so_proto->pr_domain->dom_refs, -1); in soclose_locked()
1545 mutex_held = so->so_proto->pr_domain->dom_mtx; in soabort()
3212 if (pr->pr_domain->dom_externalize != NULL) { in soreceive_ctl()
3261 if (pr->pr_domain->dom_externalize != NULL && in soreceive_ctl()
3272 error = (*pr->pr_domain->dom_externalize)(cm); in soreceive_ctl()
4831 mutex_held = so->so_proto->pr_domain->dom_mtx; in sorflush()
4909 if ((pr->pr_flags & PR_RIGHTS) && pr->pr_domain->dom_dispose) { in sorflush()
[all …]
H A Duipc_socket2.c335 mutex_held = head->so_proto->pr_domain->dom_mtx; in sonewconn_internal()
451 atomic_add_32(&so->so_proto->pr_domain->dom_refs, 1); in sonewconn_internal()
569 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()
2533 mutex_held = so->so_proto->pr_domain->dom_mtx; in sblock()
2631 mutex_held = so->so_proto->pr_domain->dom_mtx; in sbunlock()
H A Duipc_syscalls.c478 mutex_held = head->so_proto->pr_domain->dom_mtx; in accept_nocancel()
1013 mutex_held = so->so_proto->pr_domain->dom_mtx; in connectit()
1087 mutex_held = so->so_proto->pr_domain->dom_mtx; in connectitx()
H A Duipc_usrreq.c2569 if (so->so_proto->pr_domain != localdomain || in unp_gc()
2870 return so->so_proto->pr_domain->dom_mtx; in unp_getlock()
H A Dvsock_domain.c1134 mutex_held = so->so_proto->pr_domain->dom_mtx; in vsock_connect()
H A Dkern_control.c2114 return so->so_proto->pr_domain->dom_mtx;
/xnu-8796.141.3/bsd/sys/
H A Dprotosw.h173 struct domain *pr_domain; /* domain protocol a member of */ member
257 struct domain *pr_domain; /* domain protocol a member of */ member
H A Dsocketvar.h704 #define SOCK_DOM(so) ((so)->so_proto->pr_domain->dom_family)
995 …oto != NULL && so->so_proto->pr_domain != NULL && (so->so_proto->pr_domain->dom_family == AF_INET …
/xnu-8796.141.3/bsd/netinet/
H A Draw_ip.c1156 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); in rip_unlock()
1172 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); in rip_unlock()
H A Dip_input.c517 VERIFY(pr->pr_domain == dp); in ip_init()
H A Dtcp_subr.c3313 return so->so_proto->pr_domain->dom_mtx; in tcp_getlock()
H A Dflow_divert.c2779 if (fd_cb->so->so_proto->pr_domain->dom_family == AF_INET6) { in flow_divert_handle_data()
/xnu-8796.141.3/tools/lldbmacros/
H A Dnet.py573 domain = so.so_proto.pr_domain
604 domain = so.so_proto.pr_domain