Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/skywalk/channel/
H A Dchannel_kern.c484 if (ch->ch_na != NULL && in kern_channel_flowadv_clear()
488 &ch->ch_na->na_tx_rings[ch->ch_first[NR_TX]]); in kern_channel_flowadv_clear()
492 } else if (ch->ch_na == NULL) { in kern_channel_flowadv_clear()
544 if (ch->ch_na != NULL && in kern_channel_flowadv_report_ce_event()
550 } else if (ch->ch_na == NULL) { in kern_channel_flowadv_report_ce_event()
577 if (ch->ch_na->na_flags & NAF_DRAINING) { in kern_channel_memstatus()
587 na_drain(ch->ch_na, TRUE); /* purge caches */ in kern_channel_memstatus()
599 if (ch->ch_na->na_type != NA_USER_PIPE) { in _kern_channel_defunct_eligible()
602 pna = (struct nexus_upipe_adapter *)ch->ch_na; in _kern_channel_defunct_eligible()
668 if (ch->ch_na->na_type == NA_FLOWSWITCH_VP) { in kern_channel_defunct()
[all …]
H A Dchannel.c512 "si_flags 0x%x", ch->ch_na->na_name, SK_KVA(ch->ch_na), in filt_chrwdetach()
554 "kn 0x%llx (%s%s) hint 0x%x", ch->ch_na->na_name, in filt_chrw()
555 SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_chrw()
614 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chtouch()
651 ((struct kern_channel *)knote_kn_hook_get_raw(kn))->ch_na)); in filt_chrtouch()
771 na = ch->ch_na; in filt_chrwattach()
780 if (ch_ev_thresh_validate(ch->ch_na->na_nx, dir, in filt_chrwattach()
921 os_atomic_or(&ch->ch_na->na_flags, NAF_CHANNEL_EVENT_ATTACHED, relaxed); in filt_che_attach()
929 ch->ch_na->na_name, SK_KVA(ch->ch_na), SK_KVA(ch), SK_KVA(kn), in filt_che_attach()
944 os_atomic_andnot(&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()
768 } else if (__improbable(ch->ch_na == NULL || in __channel_set_opt()
769 !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-10002.1.13/bsd/skywalk/nexus/kpipe/
H A Dnx_kernel_pipe.c373 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_kpipe_dom_connect()
388 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_disconnect()
396 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_kpipe_dom_disconnect()
406 struct nexus_adapter *na = ch->ch_na; in nx_kpipe_dom_defunct()
414 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct()
457 ASSERT(ch->ch_na->na_type == NA_KERNEL_PIPE); in nx_kpipe_dom_defunct_finalize()
459 na_defunct(nx, ch, ch->ch_na, locked); in nx_kpipe_dom_defunct_finalize()
463 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_kpipe_dom_defunct_finalize()
/xnu-10002.1.13/bsd/skywalk/nexus/
H A Dnexus_adapter.c268 struct nexus_adapter *na = ch->ch_na; in na_set_ringid()
317 struct nexus_adapter *na = ch->ch_na; in na_unset_ringid()
338 struct nexus_adapter *na = ch->ch_na; in na_krings_use()
390 struct nexus_adapter *na = ch->ch_na; in na_krings_unuse()
455 ASSERT(ch->ch_na == NULL); in na_bind_channel()
459 ch->ch_na = na; /* store the reference */ in na_bind_channel()
590 SK_D(" ch_na: 0x%llx (chcnt %u)", SK_KVA(ch->ch_na), in na_bind_channel()
591 ch->ch_na->na_channels); in na_bind_channel()
632 ch->ch_na = NULL; in na_bind_channel()
645 struct nexus_adapter *na = ch->ch_na; in na_unbind_channel()
[all …]
H A Dnexus_adapter.h557 ASSERT(ch->ch_na == NULL || ch->ch_na == na); in na_reject_channel()
H A Dnexus.c2264 struct nexus_adapter *na = ch->ch_na; in nx_init_rings()
2344 struct nexus_adapter *na = ch->ch_na; in nx_fini_rings()
3209 populate_ring_entries(ch->ch_na->na_tx_rings, tx_first, tx_last, in nexus_channel_entry_populate()
3211 populate_ring_entries(ch->ch_na->na_rx_rings, rx_first, rx_last, in nexus_channel_entry_populate()
3550 struct nexus_adapter *na = ch->ch_na; in nx_interface_advisory_notify()
/xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/
H A Dnx_flowswitch.c820 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_disconnect()
839 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct()
870 ASSERT(ch->ch_na->na_type == NA_FLOWSWITCH_VP); in nx_fsw_dom_defunct_finalize()
871 ASSERT(VPNA(ch->ch_na)->vpna_nx_port == ch->ch_info->cinfo_nx_port); in nx_fsw_dom_defunct_finalize()
873 err = fsw_port_na_defunct(fsw, VPNA(ch->ch_na)); in nx_fsw_dom_defunct_finalize()
876 na_defunct(nx, ch, ch->ch_na, locked); in nx_fsw_dom_defunct_finalize()
881 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_fsw_dom_defunct_finalize()
H A Dfsw.c590 hwna = fsw->fsw_host_ch->ch_na; in fsw_host_setup()
633 struct nexus_adapter *hwna = fsw->fsw_host_ch->ch_na; in fsw_host_teardown()
670 struct nexus_adapter *hwna = fsw->fsw_dev_ch->ch_na; in fsw_netif_set_callbacks_common()
889 uuid_copy(nsr->nsr_if_uuid, fsw->fsw_dev_ch->ch_na->na_uuid); in fsw_ctl_attach()
965 fsw->fsw_dev_ch->ch_na->na_uuid) != 0) { in fsw_ctl_detach()
1822 (na = ch->ch_na) == NULL) { in fsw_mib_get_flow_adv()
2105 (na = ch->ch_na) == NULL) { in fsw_mib_get_userstack_stats()
H A Dfsw_dp.c3339 dev_na = fsw->fsw_dev_ch->ch_na; in dp_tx_pktq()
3730 dev_na = fsw->fsw_dev_ch->ch_na; in dp_gso_pktq()
/xnu-10002.1.13/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
500 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n…
505 ….ch_mmap.ami_mapaddr, ch.ch_mmap.ami_mapsize, ch.ch_mmap.ami_redirect, ch.ch_na, ch.ch_fd, ch.ch_n…
/xnu-10002.1.13/bsd/skywalk/nexus/netif/
H A Dnx_netif.c1209 skmem_arena_nexus(ch->ch_na->na_arena), 1); in nx_netif_dom_connect()
1224 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_netif_dom_disconnect()
1232 skmem_arena_nexus(ch->ch_na->na_arena), -1); in nx_netif_dom_disconnect()
1248 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct()
1249 ch->ch_na->na_type == NA_NETIF_HOST || in nx_netif_dom_defunct()
1250 ch->ch_na->na_type == NA_NETIF_COMPAT_DEV || in nx_netif_dom_defunct()
1251 ch->ch_na->na_type == NA_NETIF_COMPAT_HOST || in nx_netif_dom_defunct()
1252 ch->ch_na->na_type == NA_NETIF_VP); in nx_netif_dom_defunct()
1273 ASSERT(ch->ch_na->na_type == NA_NETIF_DEV || in nx_netif_dom_defunct_finalize()
1274 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-10002.1.13/bsd/skywalk/nexus/upipe/
H A Dnx_user_pipe.c580 SK_KVA(nx), nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_disconnect()
598 struct nexus_adapter *na = ch->ch_na; in nx_upipe_dom_defunct()
648 (struct nexus_upipe_adapter *)ch->ch_na; in nx_upipe_dom_defunct_finalize()
660 ASSERT(ch->ch_na->na_type == NA_USER_PIPE); in nx_upipe_dom_defunct_finalize()
688 nxdom_prov->nxdom_prov_name, ch->ch_na->na_name, in nx_upipe_dom_defunct_finalize()
/xnu-10002.1.13/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()
512 dev_na = fo->fo_fsw->fsw_dev_ch->ch_na; in flow_entry_alloc()
/xnu-10002.1.13/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1475 pna = ch0->ch_na; in nx_monitor_na_find()