Home
last modified time | relevance | path

Searched refs:ch_na (Results 1 – 17 of 17) sorted by relevance

/xnu-8792.41.9/bsd/skywalk/channel/
H A Dchannel_kern.c488 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 Dchannel.c513 "si_flags 0x%x", ch->ch_na->na_name, SK_KVA(ch->ch_na), in filt_chrwdetach()
555 "kn 0x%llx (%s%s) hint 0x%x", ch->ch_na->na_name, in filt_chrw()
556 SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_chrw()
615 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chtouch()
652 ((struct kern_channel *)kn->kn_hook)->ch_na)); in filt_chrtouch()
772 na = ch->ch_na; in filt_chrwattach()
781 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chrwattach()
922 atomic_bitset_32(&ch->ch_na->na_flags, in filt_che_attach()
931 ch->ch_na->na_name, SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_che_attach()
946 atomic_bitclear_32(&ch->ch_na->na_flags, in filt_che_detach()
[all …]
H A Dchannel_syscalls.c419 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 Dchannel_var.h141 struct nexus_adapter *ch_na; member
/xnu-8792.41.9/bsd/skywalk/nexus/kpipe/
H A Dnx_kernel_pipe.c374 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_kpipe_dom_connect()
389 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_disconnect()
397 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_kpipe_dom_disconnect()
407 struct nexus_adapter *na = ch->ch_na; in nx_kpipe_dom_defunct()
415 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct()
458 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct_finalize()
460 na_defunct(nx, ch, ch->ch_na, locked); in nx_kpipe_dom_defunct_finalize()
464 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_defunct_finalize()
/xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/
H A Dnx_flowswitch.c769 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_disconnect()
788 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct()
819 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct_finalize()
820 ASSERT(VPNA(ch->ch_na)->vpna_nx_port == ch->ch_info->cinfo_nx_port); in nx_fsw_dom_defunct_finalize()
822 err = fsw_port_na_defunct(fsw, VPNA(ch->ch_na)); in nx_fsw_dom_defunct_finalize()
825 na_defunct(nx, ch, ch->ch_na, locked); in nx_fsw_dom_defunct_finalize()
830 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_defunct_finalize()
H A Dfsw.c504 hwna = fsw->fsw_host_ch->ch_na; in fsw_host_setup()
547 struct nexus_adapter *hwna = fsw->fsw_host_ch->ch_na; in fsw_host_teardown()
584 struct nexus_adapter *hwna = fsw->fsw_dev_ch->ch_na; in fsw_netif_set_callbacks_common()
803 uuid_copy(nsr->nsr_if_uuid, fsw->fsw_dev_ch->ch_na->na_uuid); in fsw_ctl_attach()
879 fsw->fsw_dev_ch->ch_na->na_uuid) != 0) { in fsw_ctl_detach()
1714 (na = ch->ch_na) == NULL) { in fsw_mib_get_flow_adv()
1997 (na = ch->ch_na) == NULL) { in fsw_mib_get_userstack_stats()
H A Dfsw_dp.c3022 dev_na = fsw->fsw_dev_ch->ch_na; in dp_tx_pktq()
/xnu-8792.41.9/bsd/skywalk/nexus/
H A Dnexus_adapter.c267 struct nexus_adapter *na = ch->ch_na; in na_set_ringid()
308 struct nexus_adapter *na = ch->ch_na; in na_unset_ringid()
329 struct nexus_adapter *na = ch->ch_na; in na_krings_use()
381 struct nexus_adapter *na = ch->ch_na; in na_krings_unuse()
446 ASSERT(ch->ch_na == NULL); in na_bind_channel()
450 ch->ch_na = na; /* store the reference */ in na_bind_channel()
581 SK_D(" ch_na: 0x%llx (chcnt %u)", SK_KVA(ch->ch_na), in na_bind_channel()
582 ch->ch_na->na_channels); in na_bind_channel()
623 ch->ch_na = NULL; in na_bind_channel()
636 struct nexus_adapter *na = ch->ch_na; in na_unbind_channel()
[all …]
H A Dnexus_adapter.h543 ASSERT(ch->ch_na == NULL || ch->ch_na == na); in na_reject_channel()
H A Dnexus.c2251 struct nexus_adapter *na = ch->ch_na; in nx_init_rings()
2331 struct nexus_adapter *na = ch->ch_na; in nx_fini_rings()
3196 populate_ring_entries(ch->ch_na->na_tx_rings, tx_first, tx_last, in nexus_channel_entry_populate()
3198 populate_ring_entries(ch->ch_na->na_rx_rings, rx_first, rx_last, in nexus_channel_entry_populate()
3516 struct nexus_adapter *na = ch->ch_na; in nx_interface_advisory_notify()
/xnu-8792.41.9/tools/lldbmacros/
H A Dskywalk.py46 rings = kc.ch_na.na_rx_rings
48 rings = kc.ch_na.na_tx_rings
50 rings = kc.ch_na.na_alloc_rings
52 rings = kc.ch_na.na_free_rings
503 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n…
508 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n…
/xnu-8792.41.9/bsd/skywalk/nexus/netif/
H A Dnx_netif.c1211 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_netif_dom_connect()
1226 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_netif_dom_disconnect()
1234 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_netif_dom_disconnect()
1250 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct()
1251 ch->ch_na->na_type == NA_NETIF_HOST || in nx_netif_dom_defunct()
1252 ch->ch_na->na_type == NA_NETIF_COMPAT_DEV || in nx_netif_dom_defunct()
1253 ch->ch_na->na_type == NA_NETIF_COMPAT_HOST || in nx_netif_dom_defunct()
1254 ch->ch_na->na_type == NA_NETIF_VP); in nx_netif_dom_defunct()
1275 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct_finalize()
1276 ch->ch_na->na_type == NA_NETIF_HOST || in nx_netif_dom_defunct_finalize()
[all …]
H A Dnx_netif_vp.c349 netif_hwna_set_mode(ch->ch_na, NETIF_MODE_LLW, NULL); in netif_hwna_setup()
378 netif_hwna_clear_mode(ch->ch_na); in netif_hwna_teardown()
/xnu-8792.41.9/bsd/skywalk/nexus/upipe/
H A Dnx_user_pipe.c581 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_disconnect()
599 struct nexus_adapter *na = ch->ch_na; in nx_upipe_dom_defunct()
649 (struct nexus_upipe_adapter *)ch->ch_na; in nx_upipe_dom_defunct_finalize()
661 ASSERT(ch->ch_na->na_type == NA_USER_PIPE); in nx_upipe_dom_defunct_finalize()
689 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_defunct_finalize()
/xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_entry.c401 nif = NX_NETIF_PRIVATE(fsw->fsw_dev_ch->ch_na->na_nx); in flow_qset_select_dynamic()
509 dev_na = fo->fo_fsw->fsw_dev_ch->ch_na; in flow_entry_alloc()
/xnu-8792.41.9/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1475 pna = ch0->ch_na; in nx_monitor_na_find()