| /f-stack/freebsd/net/ |
| H A D | vnet.h | 177 #define curvnet curthread->td_vnet macro 200 struct vnet *saved_vnet = curvnet; \ 202 curvnet = arg; \ 217 curvnet = saved_vnet; \ 225 struct vnet *saved_vnet = curvnet; \ 226 curvnet = arg; 238 curvnet = saved_vnet; 302 #define VNET(n) VNET_VNET(curvnet, n) 380 if (IS_DEFAULT_VNET(curvnet)) { \ 388 if (IS_DEFAULT_VNET(curvnet)) { \ [all …]
|
| H A D | vnet.c | 329 curvnet = prison0.pr_vnet = vnet0 = vnet_alloc(); in vnet0_init() 337 curvnet = NULL; in vnet_init_done() 581 curvnet->vnet_state = vs->subsystem; in vnet_sysinit() 600 curvnet->vnet_state = vs->subsystem; in vnet_sysuninit() 677 (vnr->old_vnet == vnr->new_vnet) == (curvnet == old_vnet)) in vnet_log_recursion() 687 vnr->new_vnet = curvnet; in vnet_log_recursion()
|
| H A D | if_debug.c | 125 db_printf("vnet=%p\n", curvnet); in DB_SHOW_ALL_COMMAND()
|
| H A D | netisr.c | 462 KASSERT(curvnet != NULL, ("%s: curvnet is NULL", __func__)); in netisr_register() 463 KASSERT(IS_DEFAULT_VNET(curvnet), ("%s: curvnet %p is not vnet0 %p", in netisr_register() 464 __func__, curvnet, vnet0)); in netisr_register() 688 KASSERT(curvnet != NULL, ("%s: curvnet is NULL", __func__)); in netisr_register_vnet() 756 KASSERT(curvnet != NULL, ("%s: curvnet is NULL", __func__)); in netisr_unregister_vnet() 766 netisr_drain_proto_vnet(curvnet, proto); in netisr_unregister_vnet()
|
| H A D | if_ipsec.c | 276 if (IS_DEFAULT_VNET(curvnet)) in vnet_ipsec_init() 282 if (IS_DEFAULT_VNET(curvnet)) in vnet_ipsec_init() 306 if (IS_DEFAULT_VNET(curvnet)) in vnet_ipsec_uninit() 311 if (IS_DEFAULT_VNET(curvnet)) in vnet_ipsec_uninit()
|
| H A D | if_clone.c | 193 if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) { in if_clone_create() 276 if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) { in if_clone_destroy()
|
| H A D | if.c | 484 curvnet->vnet_ifcnt++; in if_link_ifnet() 505 curvnet->vnet_ifcnt--; in if_unlink_ifnet() 535 pending = malloc(sizeof(struct ifnet *) * curvnet->vnet_ifcnt, in vnet_if_return() 622 ifp->if_vnet = curvnet; in if_alloc_domain() 870 ifp->if_vnet = curvnet; in if_attach_internal() 872 ifp->if_home_vnet = curvnet; in if_attach_internal() 989 if (IS_DEFAULT_VNET(curvnet)) in if_attach_internal() 1246 if (IS_DEFAULT_VNET(curvnet)) in if_detach_internal() 2289 if (IS_DEFAULT_VNET(curvnet)) in do_link_state_change()
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | ip_fw_nptv6.c | 54 return (nptv6_init(&V_layer3_chain, IS_DEFAULT_VNET(curvnet))); in vnet_ipfw_nptv6_init() 61 nptv6_uninit(&V_layer3_chain, IS_DEFAULT_VNET(curvnet)); in vnet_ipfw_nptv6_uninit()
|
| /f-stack/freebsd/netpfil/ipfw/pmod/ |
| H A D | ip_fw_pmod.c | 55 error = tcpmod_init(&V_layer3_chain, IS_DEFAULT_VNET(curvnet)); in vnet_ipfw_pmod_init() 63 tcpmod_uninit(&V_layer3_chain, IS_DEFAULT_VNET(curvnet)); in vnet_ipfw_pmod_uninit()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | ip_fw_nat64.c | 86 first = IS_DEFAULT_VNET(curvnet) ? 1: 0; in vnet_ipfw_nat64_init() 113 last = IS_DEFAULT_VNET(curvnet) ? 1: 0; in vnet_ipfw_nat64_uninit()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_hhook.c | 324 KASSERT(curvnet != NULL, ("curvnet is NULL")); in hhook_head_register() 325 tmphhh->hhh_vid = (uintptr_t)curvnet; in hhook_head_register() 420 KASSERT(curvnet != NULL, ("curvnet is NULL")); in hhook_head_get() 421 if (hhh->hhh_vid != (uintptr_t)curvnet) in hhook_head_get()
|
| H A D | subr_trap.c | 189 VNET_ASSERT(curvnet == NULL, in userret() 191 __func__, td, p->p_pid, td->td_name, curvnet, in userret()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_sym.c | 159 *valuep = (db_expr_t)curvnet; in db_var_curvnet() 265 vnet = curvnet; in db_value_of_name_vnet()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_gif.c | 434 if (!IS_DEFAULT_VNET(curvnet)) in in_gif_init() 449 if (IS_DEFAULT_VNET(curvnet)) { in in_gif_uninit()
|
| H A D | tcp_hostcache.c | 256 tcp_hc_purge, curvnet); in tcp_hc_init() 750 tcp_hc_purge, curvnet); in sysctl_tcp_hc_purgenow()
|
| H A D | ip_gre.c | 572 if (!IS_DEFAULT_VNET(curvnet)) in in_gre_init() 583 if (IS_DEFAULT_VNET(curvnet)) { in in_gre_uninit()
|
| H A D | ip_mroute.c | 683 curvnet); in ip_mrouter_init() 685 curvnet); in ip_mrouter_init() 687 curvnet); in ip_mrouter_init() 1480 curvnet); in expire_upcalls() 2292 curvnet); in expire_bw_upcalls_send() 2309 curvnet); in expire_bw_meter_process()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_gif.c | 458 if (!IS_DEFAULT_VNET(curvnet)) in in6_gif_init() 473 if (IS_DEFAULT_VNET(curvnet)) { in in6_gif_uninit()
|
| H A D | nd6.c | 228 nd6_slowtimo, curvnet); in nd6_init() 231 callout_reset(&V_nd6_timer_ch, hz, nd6_timer, curvnet); in nd6_init() 234 if (IS_DEFAULT_VNET(curvnet)) { in nd6_init() 251 if (IS_DEFAULT_VNET(curvnet)) { in nd6_destroy() 1074 nd6_timer, curvnet); in nd6_timer() 2108 nd6_slowtimo, curvnet); in nd6_slowtimo()
|
| H A D | ip6_gre.c | 572 if (!IS_DEFAULT_VNET(curvnet)) in in6_gre_init() 583 if (IS_DEFAULT_VNET(curvnet)) { in in6_gre_uninit()
|
| H A D | in6_ifattach.c | 839 V_ip6_temp_regen_advance) * hz, in6_tmpaddrtimer, curvnet); in in6_tmpaddrtimer() 896 in6_tmpaddrtimer, curvnet); in in6_ifattach_init()
|
| H A D | scope6.c | 90 if (!IS_DEFAULT_VNET(curvnet)) in scope6_init()
|
| /f-stack/freebsd/net/route/ |
| H A D | route_tables.c | 253 if (IS_DEFAULT_VNET(curvnet)) { in vnet_rtables_init()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | mlfk_ipl.c | 220 if (IS_DEFAULT_VNET(curvnet)) { in vnet_ipf_init() 292 if (!IS_DEFAULT_VNET(curvnet)) { in vnet_ipf_uninit()
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_ipcomp.c | 261 xd->vnet = curvnet; in ipcomp_input() 503 xd->vnet = curvnet; in ipcomp_output()
|