| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 488 if (ch->ch_na != NULL && in kern_channel_flowadv_clear() 492 &ch->ch_na->na_tx_rings[ch->ch_first[NR_TX]]); in kern_channel_flowadv_clear() 496 } else if (ch->ch_na == NULL) { in kern_channel_flowadv_clear() 522 if (ch->ch_na->na_flags & NAF_DRAINING) { in kern_channel_memstatus() 532 na_drain(ch->ch_na, TRUE); /* purge caches */ in kern_channel_memstatus() 544 if (ch->ch_na->na_type != NA_USER_PIPE) { in _kern_channel_defunct_eligible() 547 pna = (struct nexus_upipe_adapter *)ch->ch_na; in _kern_channel_defunct_eligible() 613 if (ch->ch_na->na_type == NA_FLOWSWITCH_VP) { in kern_channel_defunct() 615 VPNA(ch->ch_na)->vpna_fsw; in kern_channel_defunct() 651 if ((err = skmem_arena_mredirect(ch->ch_na->na_arena, in kern_channel_defunct() [all …]
|
| H A D | channel.c | 522 "si_flags 0x%x", ch->ch_na->na_name, SK_KVA(ch->ch_na), in filt_chrwdetach() 564 "kn 0x%llx (%s%s) hint 0x%x", ch->ch_na->na_name, in filt_chrw() 565 SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_chrw() 624 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chtouch() 661 ((struct kern_channel *)kn->kn_hook)->ch_na)); in filt_chrtouch() 781 na = ch->ch_na; in filt_chrwattach() 790 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chrwattach() 931 atomic_bitset_32(&ch->ch_na->na_flags, in filt_che_attach() 940 ch->ch_na->na_name, SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_che_attach() 955 atomic_bitclear_32(&ch->ch_na->na_flags, in filt_che_detach() [all …]
|
| H A D | channel_syscalls.c | 419 na = ch->ch_na; /* we have a reference */ in __channel_sync() 758 } else if (__improbable(ch->ch_na == NULL || in __channel_set_opt() 759 !NA_IS_ACTIVE(ch->ch_na) || na_reject_channel(ch, ch->ch_na))) { in __channel_set_opt()
|
| H A D | channel_var.h | 141 struct nexus_adapter *ch_na; member
|
| /xnu-8019.80.24/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 369 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_kpipe_dom_connect() 384 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_disconnect() 392 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_kpipe_dom_disconnect() 402 struct nexus_adapter *na = ch->ch_na; in nx_kpipe_dom_defunct() 410 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct() 453 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct_finalize() 455 na_defunct(nx, ch, ch->ch_na, locked); in nx_kpipe_dom_defunct_finalize() 459 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_defunct_finalize()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 327 struct nexus_adapter *na = ch->ch_na; in na_set_ringid() 368 struct nexus_adapter *na = ch->ch_na; in na_unset_ringid() 389 struct nexus_adapter *na = ch->ch_na; in na_krings_use() 441 struct nexus_adapter *na = ch->ch_na; in na_krings_unuse() 506 ASSERT(ch->ch_na == NULL); in na_bind_channel() 510 ch->ch_na = na; /* store the reference */ in na_bind_channel() 641 SK_D(" ch_na: 0x%llx (chcnt %u)", SK_KVA(ch->ch_na), in na_bind_channel() 642 ch->ch_na->na_channels); in na_bind_channel() 683 ch->ch_na = NULL; in na_bind_channel() 696 struct nexus_adapter *na = ch->ch_na; in na_unbind_channel() [all …]
|
| H A D | nexus_adapter.h | 551 ASSERT(ch->ch_na == NULL || ch->ch_na == na); in na_reject_channel()
|
| H A D | nexus.c | 2288 struct nexus_adapter *na = ch->ch_na; in nx_init_rings() 2368 struct nexus_adapter *na = ch->ch_na; in nx_fini_rings() 3228 populate_ring_entries(ch->ch_na->na_tx_rings, tx_first, tx_last, in nexus_channel_entry_populate() 3230 populate_ring_entries(ch->ch_na->na_rx_rings, rx_first, rx_last, in nexus_channel_entry_populate() 3548 struct nexus_adapter *na = ch->ch_na; in nx_interface_advisory_notify()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 777 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_disconnect() 796 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct() 827 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct_finalize() 828 ASSERT(VPNA(ch->ch_na)->vpna_nx_port == ch->ch_info->cinfo_nx_port); in nx_fsw_dom_defunct_finalize() 830 err = fsw_port_na_defunct(fsw, VPNA(ch->ch_na)); in nx_fsw_dom_defunct_finalize() 833 na_defunct(nx, ch, ch->ch_na, locked); in nx_fsw_dom_defunct_finalize() 838 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_defunct_finalize()
|
| H A D | fsw.c | 461 hwna = fsw->fsw_host_ch->ch_na; in fsw_host_setup() 504 struct nexus_adapter *hwna = fsw->fsw_host_ch->ch_na; in fsw_host_teardown() 541 struct nexus_adapter *hwna = fsw->fsw_dev_ch->ch_na; in fsw_netif_set_callbacks_common() 738 uuid_copy(nsr->nsr_if_uuid, fsw->fsw_dev_ch->ch_na->na_uuid); in fsw_ctl_attach() 806 fsw->fsw_dev_ch->ch_na->na_uuid) != 0) { in fsw_ctl_detach() 1641 (na = ch->ch_na) == NULL) { in fsw_mib_get_flow_adv() 1924 (na = ch->ch_na) == NULL) { in fsw_mib_get_userstack_stats()
|
| H A D | fsw_dp.c | 2757 dev_na = fsw->fsw_dev_ch->ch_na; in dp_tx_pktq()
|
| /xnu-8019.80.24/tools/lldbmacros/ |
| H A D | skywalk.py | 42 rings = kc.ch_na.na_rx_rings 44 rings = kc.ch_na.na_tx_rings 46 rings = kc.ch_na.na_alloc_rings 48 rings = kc.ch_na.na_free_rings 499 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n… 504 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n…
|
| /xnu-8019.80.24/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.c | 1185 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_netif_dom_connect() 1200 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_netif_dom_disconnect() 1208 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_netif_dom_disconnect() 1224 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct() 1225 ch->ch_na->na_type == NA_NETIF_HOST || in nx_netif_dom_defunct() 1226 ch->ch_na->na_type == NA_NETIF_COMPAT_DEV || in nx_netif_dom_defunct() 1227 ch->ch_na->na_type == NA_NETIF_COMPAT_HOST); in nx_netif_dom_defunct() 1246 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct_finalize() 1247 ch->ch_na->na_type == NA_NETIF_HOST || in nx_netif_dom_defunct_finalize() 1248 ch->ch_na->na_type == NA_NETIF_COMPAT_DEV || in nx_netif_dom_defunct_finalize() [all …]
|
| H A D | nx_netif_vp.c | 347 netif_hwna_set_mode(ch->ch_na, NETIF_MODE_LLW, NULL); in netif_hwna_setup() 376 netif_hwna_clear_mode(ch->ch_na); in netif_hwna_teardown()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 593 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_disconnect() 611 struct nexus_adapter *na = ch->ch_na; in nx_upipe_dom_defunct() 661 (struct nexus_upipe_adapter *)ch->ch_na; in nx_upipe_dom_defunct_finalize() 673 ASSERT(ch->ch_na->na_type == NA_USER_PIPE); in nx_upipe_dom_defunct_finalize() 701 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_defunct_finalize()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_entry.c | 279 dev_na = fo->fo_fsw->fsw_dev_ch->ch_na; in flow_entry_alloc()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 1480 pna = ch0->ch_na; in nx_monitor_na_find()
|