Searched refs:pr_domain (Results 1 - 25 of 26) sorted by relevance

12

/darwin-on-arm/xnu/bsd/kern/
H A Duipc_proto.c84 .pr_domain = &localdomain,
94 .pr_domain = &localdomain,
H A Dsocket_info.c79 if (so->so_proto->pr_domain)
80 si->soi_family = so->so_proto->pr_domain->dom_family;
110 if (so->so_pcb == 0 || so->so_proto == 0 || so->so_proto->pr_domain == 0)
114 family = so->so_proto->pr_domain->dom_family;
H A Dkpi_socket.c100 mutex_held = sock->so_proto->pr_domain->dom_mtx;
263 mutex_held = sock->so_proto->pr_domain->dom_mtx;
332 mutex_held = sock->so_proto->pr_domain->dom_mtx;
557 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL || sock->so_pcb == NULL) {
597 switch (sock->so_proto->pr_domain->dom_family) {
635 if (sock->so_proto == NULL || sock->so_proto->pr_domain == NULL) {
640 switch (sock->so_proto->pr_domain->dom_family) {
1050 *outDomain = sock->so_proto->pr_domain->dom_family;
1076 if ((sock->so_proto->pr_domain->dom_family == AF_INET ||
1077 sock->so_proto->pr_domain
[all...]
H A Duipc_socket.c614 prp->pr_domain->dom_refs++;
892 mutex_held = so->so_proto->pr_domain->dom_mtx;
1015 mutex_held = so->so_proto->pr_domain->dom_mtx;
1043 (so->so_proto->pr_domain->dom_family == AF_INET ||
1044 so->so_proto->pr_domain->dom_family == AF_INET6))
1061 so->so_proto->pr_domain->dom_refs--;
1109 mutex_held = so->so_proto->pr_domain->dom_mtx;
1882 * <pr_domain->dom_externalize>:EMSGSIZE[AF_UNIX]
1883 * <pr_domain->dom_externalize>:ENOBUFS[AF_UNIX]
1884 * <pr_domain
[all...]
H A Duipc_socket2.c266 mutex_held = head->so_proto->pr_domain->dom_mtx;
292 so = soalloc(1, head->so_proto->pr_domain->dom_family,
376 so->so_proto->pr_domain->dom_refs++;
473 mutex_held = so->so_proto->pr_domain->dom_mtx;
525 mutex_held = so->so_proto->pr_domain->dom_mtx;
819 mutex_held = sb->sb_so->so_proto->pr_domain->dom_mtx;
1824 mutex_held = so->so_proto->pr_domain->dom_mtx;
1897 xso->xso_family = so->so_proto->pr_domain->dom_family;
1928 xso->xso_family = so->so_proto->pr_domain->dom_family;
H A Duipc_usrreq.c2071 if (so->so_proto->pr_domain != &localdomain ||
2387 return (so->so_proto->pr_domain->dom_mtx);
H A Dkern_control.c1094 return (so->so_proto->pr_domain->dom_mtx);
H A Duipc_syscalls.c380 mutex_held = head->so_proto->pr_domain->dom_mtx;
654 mutex_held = so->so_proto->pr_domain->dom_mtx;
H A Dkern_event.c2738 .pr_domain = &systemdomain,
/darwin-on-arm/xnu/bsd/net/
H A Draw_usrreq.c189 mutex_held = so->so_proto->pr_domain->dom_mtx;
238 mutex_held = so->so_proto->pr_domain->dom_mtx;
292 mutex_held = so->so_proto->pr_domain->dom_mtx;
344 mutex_held = so->so_proto->pr_domain->dom_mtx;
H A Draw_cb.c109 rp->rcb_proto.sp_family = so->so_proto->pr_domain->dom_family;
H A Dndrv.c197 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_NOTOWNED);
198 lck_mtx_lock(so->so_proto->pr_domain->dom_mtx);
203 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx);
237 np->nd_proto.sp_family = so->so_proto->pr_domain->dom_family;
409 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_OWNED);
873 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_OWNED);
H A Dif.c1685 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
1697 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
1706 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
1873 so->so_proto->pr_domain->dom_family, cmd, data);
1991 (void) ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
2023 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
2063 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
2100 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
2205 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family,
2219 error = ifnet_ioctl(ifp, so->so_proto->pr_domain
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6protosw.h156 struct domain *pr_domain; /* domain protocol a member of */ member in struct:ip6protosw
H A Dip6_input.c326 if(!(pr->pr_domain)) continue; /* If uninitialized, skip */
327 if (pr->pr_domain->dom_family == PF_INET6 &&
H A Dipsec.c323 switch (so->so_proto->pr_domain->dom_family) {
341 switch (so->so_proto->pr_domain->dom_family) {
595 if (so->so_proto->pr_domain->dom_family != AF_INET6)
/darwin-on-arm/xnu/bsd/sys/
H A Dprotosw.h125 struct domain *pr_domain; /* domain protocol a member of */ member in struct:protosw
/darwin-on-arm/xnu/bsd/netinet/
H A Din_pcb.h632 #define INP_SOCKAF(so) so->so_proto->pr_domain->dom_family
H A Din_tclass.c296 if (so->so_proto->pr_domain->dom_family != AF_INET &&
297 so->so_proto->pr_domain->dom_family != AF_INET6)
H A Draw_ip.c949 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx);
966 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx);
H A Din_pcblist.c118 xso->xso_family = so->so_proto->pr_domain->dom_family;
H A Dip_divert.c749 return (so->so_proto->pr_domain->dom_mtx);
H A Dip_input.c437 if (pr->pr_domain == NULL)
439 if (pr->pr_domain->dom_family == PF_INET &&
H A Dudp_usrreq.c1894 return (so->so_proto->pr_domain->dom_mtx);
H A Dtcp_subr.c2463 return (so->so_proto->pr_domain->dom_mtx);

Completed in 257 milliseconds

12