| /xnu-10063.141.1/bsd/skywalk/nexus/ |
| H A D | nexus_var.h | 204 struct kern_nexus { struct 212 STAILQ_ENTRY(kern_nexus) nx_prov_link; argument 213 RB_ENTRY(kern_nexus) nx_link; 252 STAILQ_HEAD(, kern_nexus) nxprov_nx_head; 309 struct kern_nexus *, struct nexus_adapter *); 311 struct kern_nexus *, struct nx_cfg_req *, int, 313 int (*dp_cb_nx_ctor)(struct kern_nexus *); 314 void (*dp_cb_nx_dtor)(struct kern_nexus *); 315 int (*dp_cb_nx_mem_info)(struct kern_nexus *, 317 size_t (*dp_cb_nx_mib_get)(struct kern_nexus *, [all …]
|
| H A D | nexus_adapter.h | 65 struct kern_nexus; 163 struct kern_nexus *na_nx; 611 struct kern_nexus *, struct kern_nexus_domain_provider *); 633 extern int na_find(struct kern_channel *, struct kern_nexus *, 639 extern int na_connect(struct kern_nexus *, struct kern_channel *, 641 extern void na_disconnect(struct kern_nexus *, struct kern_channel *); 642 extern void na_defunct(struct kern_nexus *, struct kern_channel *, 644 extern int na_connect_spec(struct kern_nexus *, struct kern_channel *, 646 extern void na_disconnect_spec(struct kern_nexus *, struct kern_channel *); 647 extern void na_start_spec(struct kern_nexus *, struct kern_channel *); [all …]
|
| H A D | nexus.c | 50 static int nx_cmp(const struct kern_nexus *, const struct kern_nexus *); 51 RB_HEAD(kern_nexus_tree, kern_nexus); 52 RB_PROTOTYPE_SC(static, kern_nexus_tree, kern_nexus, nx_link, nx_cmp); 53 RB_GENERATE(kern_nexus_tree, kern_nexus, nx_link, nx_cmp); 79 static int nx_init_rings(struct kern_nexus *, struct kern_channel *); 80 static void nx_fini_rings(struct kern_nexus *, struct kern_channel *); 81 static int nx_init_slots(struct kern_nexus *, struct __kern_channel_ring *); 82 static void nx_fini_slots(struct kern_nexus *, struct __kern_channel_ring *); 83 static struct kern_nexus *nx_alloc(zalloc_flags_t); 84 static void nx_free(struct kern_nexus *); [all …]
|
| H A D | os_nexus.h | 437 struct kern_nexus; 446 typedef struct kern_nexus *kern_nexus_t; 1048 extern errno_t kern_nexus_netif_llink_add(struct kern_nexus *, 1051 extern errno_t kern_nexus_netif_llink_remove(struct kern_nexus *,
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 97 static int nx_fsw_dom_find_port(struct kern_nexus *, boolean_t, nexus_port_t *); 98 static int nx_fsw_dom_bind_port(struct kern_nexus *, nexus_port_t *, 100 static int nx_fsw_dom_unbind_port(struct kern_nexus *, nexus_port_t); 102 struct kern_nexus *, struct kern_channel *, struct chreq *, 105 struct kern_nexus *, struct kern_channel *); 107 struct kern_nexus *, struct kern_channel *, struct proc *); 109 struct kern_nexus *, struct kern_channel *, boolean_t); 118 struct kern_nexus *, struct nexus_adapter *); 120 struct kern_nexus *, struct nx_cfg_req *, int, struct proc *, 123 static int nx_fsw_prov_nx_ctor(struct kern_nexus *); [all …]
|
| H A D | nx_flowswitch.h | 210 struct kern_nexus *fsw_nx; 357 extern int nx_fsw_na_find(struct kern_nexus *, struct kern_channel *, 360 extern boolean_t nx_fsw_dom_port_is_reserved(struct kern_nexus *nx, 362 extern int nx_fsw_netagent_add(struct kern_nexus *nx); 363 extern int nx_fsw_netagent_remove(struct kern_nexus *nx); 364 extern void nx_fsw_netagent_update(struct kern_nexus *nx);
|
| H A D | fsw_var.h | 91 extern int fsw_attach_vp(struct kern_nexus *nx, struct kern_channel *ch, 94 extern int fsw_ctl(struct kern_nexus *nx, nxcfg_cmd_t nc_cmd, struct proc *p, 96 extern int fsw_ctl_detach(struct kern_nexus *nx, struct proc *p, 122 extern int fsw_vp_na_create(struct kern_nexus *nx, struct chreq *chr, 195 extern int fsw_netagent_add_remove(struct kern_nexus *nx, boolean_t add); 196 extern void fsw_netagent_update(struct kern_nexus *nx);
|
| H A D | fsw.c | 113 fsw_attach_vp(struct kern_nexus *nx, struct kern_channel *ch, in fsw_attach_vp() 172 fsw_nx_check(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_nx_check() 636 const struct kern_nexus *nx, int err) in fsw_ctl_attach_log() 740 fsw_netif_port_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx, in fsw_netif_port_setup() 790 fsw_devna_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_devna_setup() 797 fsw_hostna_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_hostna_setup() 819 fsw_ctl_attach(struct kern_nexus *nx, struct proc *p, struct nx_spec_req *nsr) in fsw_ctl_attach() 823 struct kern_nexus *hw_nx = NULL; in fsw_ctl_attach() 927 fsw_ctl_detach(struct kern_nexus *nx, struct proc *p, in fsw_ctl_detach() 1006 fsw_ctl(struct kern_nexus *nx, nxcfg_cmd_t nc_cmd, struct proc *p, in fsw_ctl() [all …]
|
| H A D | fsw_flow.c | 40 struct kern_nexus *nx = fsw->fsw_nx; in fsw_flow_add() 344 struct kern_nexus *nx = fsw->fsw_nx; in fsw_flow_del()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 81 static int nx_kpipe_dom_bind_port(struct kern_nexus *, nexus_port_t *, 83 static int nx_kpipe_dom_unbind_port(struct kern_nexus *, nexus_port_t); 85 struct kern_nexus *, struct kern_channel *, struct chreq *, 88 struct kern_nexus *, struct kern_channel *); 90 struct kern_nexus *, struct kern_channel *, struct proc *); 92 struct kern_nexus *, struct kern_channel *, boolean_t); 102 struct kern_nexus *, struct nexus_adapter *); 104 static int nx_kpipe_prov_nx_ctor(struct kern_nexus *); 105 static void nx_kpipe_prov_nx_dtor(struct kern_nexus *); 106 static int nx_kpipe_prov_nx_mem_info(struct kern_nexus *, [all …]
|
| H A D | nx_kernel_pipe.h | 75 extern int nx_kpipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-10063.141.1/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.h | 281 struct kern_nexus *nif_nx; 502 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 517 struct kern_nexus *, struct nexus_adapter *); 520 struct kern_nexus *, struct nx_cfg_req *, int, struct proc *, 522 extern int nx_netif_prov_nx_ctor(struct kern_nexus *); 523 extern void nx_netif_prov_nx_dtor(struct kern_nexus *); 524 extern int nx_netif_prov_nx_mem_info(struct kern_nexus *, 526 extern size_t nx_netif_prov_nx_mib_get(struct kern_nexus *nx, 528 extern int nx_netif_prov_nx_stop(struct kern_nexus *); 539 extern void nx_netif_config_interface_advisory(struct kern_nexus *, bool); [all …]
|
| H A D | nx_netif.c | 121 static int nx_netif_dom_bind_port(struct kern_nexus *, nexus_port_t *, 123 static int nx_netif_dom_unbind_port(struct kern_nexus *, nexus_port_t); 125 struct kern_nexus *, struct kern_channel *, struct chreq *, 128 struct kern_nexus *, struct kern_channel *); 130 struct kern_nexus *, struct kern_channel *, struct proc *); 132 struct kern_nexus *, struct kern_channel *, boolean_t); 146 static int nx_netif_ctl(struct kern_nexus *, nxcfg_cmd_t, void *, 148 static int nx_netif_ctl_attach(struct kern_nexus *, struct nx_spec_req *, 150 static int nx_netif_ctl_detach(struct kern_nexus *, struct nx_spec_req *); 151 static int nx_netif_attach(struct kern_nexus *, struct ifnet *); [all …]
|
| H A D | nx_netif_compat.h | 78 extern int nx_netif_compat_attach(struct kern_nexus *nx, struct ifnet *ifp);
|
| H A D | nx_netif_llink.c | 69 static int nx_netif_llink_ext_init_queues(struct kern_nexus *, 71 static void nx_netif_llink_ext_fini_queues(struct kern_nexus *, 959 nx_netif_llink_ext_init_queues(struct kern_nexus *nx, struct netif_llink *llink) in nx_netif_llink_ext_init_queues() 1023 nx_netif_llink_ext_fini_queues(struct kern_nexus *nx, struct netif_llink *llink) in nx_netif_llink_ext_fini_queues() 1062 nx_netif_llink_ext_init_default_queues(struct kern_nexus *nx) in nx_netif_llink_ext_init_default_queues() 1069 nx_netif_llink_ext_fini_default_queues(struct kern_nexus *nx) in nx_netif_llink_ext_fini_default_queues()
|
| H A D | nx_netif_vp.c | 323 struct kern_nexus *nx = nif->nif_nx; in netif_hwna_setup() 362 struct kern_nexus *nx = nif->nif_nx; in netif_hwna_teardown() 789 struct kern_nexus *nx; in netif_vp_region_params_setup() 911 netif_vp_na_mem_new(struct kern_nexus *nx, struct nexus_adapter *na) in netif_vp_na_mem_new() 932 struct kern_nexus *nx = na->na_nx; in netif_vp_na_dtor() 953 netif_vp_na_create(struct kern_nexus *nx, struct chreq *chr, in netif_vp_na_create() 1168 struct kern_nexus *nx = netif->nif_nx; in nx_netif_find_port_vpna()
|
| H A D | nx_netif_filter_vp.c | 310 struct kern_nexus *nx = na->na_nx; in netif_filter_na_mem_new() 484 struct kern_nexus *nx = na->na_nx; in netif_filter_na_dtor() 515 netif_filter_na_create(struct kern_nexus *nx, struct chreq *chr, in netif_filter_na_create()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 89 static int nx_upipe_dom_bind_port(struct kern_nexus *, nexus_port_t *, 91 static int nx_upipe_dom_unbind_port(struct kern_nexus *, nexus_port_t); 93 struct kern_nexus *, struct kern_channel *, struct chreq *, 96 struct kern_nexus *, struct kern_channel *); 98 struct kern_nexus *, struct kern_channel *, struct proc *); 100 struct kern_nexus *, struct kern_channel *, boolean_t); 110 struct kern_nexus *, struct nexus_adapter *); 112 static int nx_upipe_prov_nx_ctor(struct kern_nexus *); 113 static void nx_upipe_prov_nx_dtor(struct kern_nexus *); 331 struct kern_nexus *nx, struct nexus_adapter *na) in nx_upipe_prov_mem_new() [all …]
|
| H A D | nx_user_pipe.h | 98 extern int nx_upipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-10063.141.1/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 158 static int nx_mon_dom_bind_port(struct kern_nexus *, nexus_port_t *, 160 static int nx_mon_dom_unbind_port(struct kern_nexus *, nexus_port_t); 162 struct kern_nexus *, struct kern_channel *, struct chreq *, 165 struct kern_nexus *, struct kern_channel *); 167 struct kern_nexus *, struct kern_channel *, struct proc *); 169 struct kern_nexus *, struct kern_channel *, boolean_t); 178 struct kern_nexus *, struct nexus_adapter *); 332 nx_mon_dom_bind_port(struct kern_nexus *nx, nexus_port_t *nx_port, in nx_mon_dom_bind_port() 343 nx_mon_dom_unbind_port(struct kern_nexus *nx, nexus_port_t nx_port) in nx_mon_dom_unbind_port() 354 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_mon_dom_connect() [all …]
|
| H A D | nx_monitor.h | 80 extern int nx_monitor_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-10063.141.1/bsd/skywalk/core/ |
| H A D | skywalk_proc_info.c | 73 struct kern_nexus *nexus; in fill_channelinfo()
|
| /xnu-10063.141.1/bsd/skywalk/channel/ |
| H A D | channel.c | 84 static struct kern_channel *ch_find(struct kern_nexus *, nexus_port_t, 86 static int ch_ev_thresh_validate(struct kern_nexus *, enum txrx, 88 static struct kern_channel *ch_connect(struct kern_nexus *, struct chreq *, 1467 ch_find(struct kern_nexus *nx, nexus_port_t port, ring_id_t ring_id) in ch_find() 1530 struct kern_nexus *nx; in ch_open() 1702 ch_open_special(struct kern_nexus *nx, struct chreq *chr, boolean_t nonxref, in ch_open_special() 1772 struct kern_nexus *nx = ch->ch_nexus; in ch_close_common() 1873 ch_ev_thresh_validate(struct kern_nexus *nx, enum txrx t, in ch_ev_thresh_validate() 1924 ch_connect_log1(const struct kern_nexus *nx, const struct ch_info *cinfo, in ch_connect_log1() 1997 ch_connect_log2(const struct kern_nexus *nx, int err) in ch_connect_log2() [all …]
|
| H A D | channel_var.h | 137 struct kern_nexus; 143 struct kern_nexus *ch_nexus; 857 extern struct kern_channel *ch_open_special(struct kern_nexus *,
|
| H A D | channel_kern.c | 454 struct kern_nexus *fsw_nx; in kern_channel_flowadv_clear() 514 struct kern_nexus *fsw_nx; in kern_channel_flowadv_report_ce_event() 627 struct kern_nexus *nx = ch->ch_nexus; in kern_channel_defunct()
|