| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.h | 279 int (*na_special)(struct nexus_adapter *, struct kern_channel *, 331 int (*na_krings_create)(struct nexus_adapter *, struct kern_channel *); 332 void (*na_krings_delete)(struct nexus_adapter *, struct kern_channel *, 547 na_reject_channel(struct kern_channel *ch, struct nexus_adapter *na) in na_reject_channel() 593 extern int na_bind_channel(struct nexus_adapter *na, struct kern_channel *ch, 595 extern void na_unbind_channel(struct kern_channel *ch); 613 struct kern_channel *); 615 struct kern_channel *, boolean_t); 616 extern void na_ch_rings_defunct(struct kern_channel *, struct proc *); 627 extern int na_find(struct kern_channel *, struct kern_nexus *, [all …]
|
| H A D | nexus_var.h | 65 struct kern_channel; 213 STAILQ_HEAD(, kern_channel) nx_ch_head; 215 STAILQ_HEAD(, kern_channel) nx_ch_nonxref_head; 217 STAILQ_HEAD(, kern_channel) nx_ch_if_adv_head; 392 struct kern_channel *, struct chreq *, struct kern_channel *, 396 struct kern_channel *); 399 struct kern_channel *, struct proc *); 402 struct kern_channel *, boolean_t); 502 extern int nxprov_advise_connect(struct kern_nexus *, struct kern_channel *, 505 struct kern_channel *);
|
| H A D | nexus_adapter.c | 64 static int na_krings_use(struct kern_channel *); 65 static void na_krings_unuse(struct kern_channel *); 70 static int na_set_ringid(struct kern_channel *, ring_set_t, ring_id_t); 71 static void na_unset_ringid(struct kern_channel *); 72 static void na_teardown(struct nexus_adapter *, struct kern_channel *, 77 static int na_kr_setup(struct nexus_adapter *, struct kern_channel *); 78 static void na_kr_teardown_all(struct nexus_adapter *, struct kern_channel *, 80 static void na_kr_teardown_txrx(struct nexus_adapter *, struct kern_channel *, 84 struct kern_channel *, boolean_t defunct); 86 static int na_schema_alloc(struct kern_channel *); [all …]
|
| H A D | nexus.c | 79 static int nx_init_rings(struct kern_nexus *, struct kern_channel *); 80 static void nx_fini_rings(struct kern_nexus *, struct kern_channel *); 1035 struct kern_channel *ch = NULL; in nxctl_get_channel_list() 1238 nxprov_advise_connect(struct kern_nexus *nx, struct kern_channel *ch, in nxprov_advise_connect() 1316 nxprov_advise_disconnect(struct kern_nexus *nx, struct kern_channel *ch) in nxprov_advise_disconnect() 2285 nx_init_rings(struct kern_nexus *nx, struct kern_channel *ch) in nx_init_rings() 2365 nx_fini_rings(struct kern_nexus *nx, struct kern_channel *ch) in nx_fini_rings() 3154 channel_ring_count(struct kern_channel *ch, enum txrx which) in channel_ring_count() 3211 nexus_channel_entry_populate(struct kern_channel *ch, in nexus_channel_entry_populate() 3239 struct kern_channel *ch = NULL; in nexus_channel_info_populate() [all …]
|
| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel_var.h | 139 struct kern_channel { struct 162 STAILQ_ENTRY(kern_channel) ch_link; argument 163 STAILQ_ENTRY(kern_channel) ch_link_if_adv; 430 int (*ckr_prologue)(struct kern_channel *, 433 void (*ckr_finalize)(struct kern_channel *, 940 extern struct kern_channel *ch_open(struct ch_init *, struct proc *, 942 extern struct kern_channel *ch_open_special(struct kern_nexus *, 944 extern void ch_close(struct kern_channel *, boolean_t); 945 extern void ch_close_special(struct kern_channel *); 946 extern int ch_kqfilter(struct kern_channel *, struct knote *, [all …]
|
| H A D | channel.c | 83 static void ch_close_common(struct kern_channel *, boolean_t, boolean_t); 84 static struct kern_channel *ch_find(struct kern_nexus *, nexus_port_t, 88 static struct kern_channel *ch_connect(struct kern_nexus *, struct chreq *, 89 struct kern_channel *, struct nxbind *, struct proc *, int, int *); 90 static void ch_disconnect(struct kern_channel *); 91 static int ch_set_lowat_thresh(struct kern_channel *, enum txrx, 93 static int ch_get_lowat_thresh(struct kern_channel *, enum txrx, 95 static struct kern_channel *ch_alloc(zalloc_flags_t); 96 static void ch_free(struct kern_channel *); 97 static int ch_configure_interface_advisory_event(struct kern_channel *ch, [all …]
|
| H A D | channel_syscalls.c | 65 struct kern_channel *ch; in chop_select() 67 ch = (struct kern_channel *)fp_get_data(fp); in chop_select() 98 struct kern_channel *ch; in chop_close() 100 ch = (struct kern_channel *)fg_get_data(fg); in chop_close() 116 struct kern_channel *ch = (struct kern_channel *)fp_get_data(fp); in chop_kqfilter() 126 struct kern_channel *ch = NULL; in __channel_open() 296 struct kern_channel *ch = NULL; in __channel_get_info() 336 const struct nexus_adapter *na, const struct kern_channel *ch, in channel_sync_log1() 368 struct kern_channel *ch; in __channel_sync() 469 DTRACE_SKYWALK2(pretxprologue, struct kern_channel *, in __channel_sync() [all …]
|
| H A D | os_channel.h | 541 struct kern_channel; 544 typedef struct kern_channel *kern_channel_t; 667 struct kern_channel *); 669 struct kern_channel *);
|
| H A D | channel_ring.c | 465 kr_txprologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txprologue() 513 kr_txprologue_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txprologue_upp() 655 kr_txsync_prologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_prologue() 769 kr_rxprologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxprologue() 828 kr_rxprologue_nodetach(struct kern_channel *ch, in kr_rxprologue_nodetach() 875 kr_rxprologue_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxprologue_upp() 968 kr_rxsync_prologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxsync_prologue() 1089 kr_txfinalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize() 1156 kr_txfinalize_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize_upp() 1193 kr_txsync_finalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_finalize() [all …]
|
| H A D | channel_kern.c | 459 struct kern_channel *ch = NULL; in kern_channel_flowadv_clear() 511 struct kern_channel *ch) in kern_channel_memstatus() 537 _kern_channel_defunct_eligible(struct kern_channel *ch) in _kern_channel_defunct_eligible() 555 kern_channel_defunct(struct proc *p, struct kern_channel *ch) in kern_channel_defunct()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.h | 38 struct kern_channel *); 40 struct kern_channel *, boolean_t); 46 struct kern_channel *, struct chreq *, nxspec_cmd_t);
|
| H A D | nx_netif.h | 316 struct kern_channel *nif_hw_ch; 482 struct kern_channel *); 484 struct kern_channel *, boolean_t); 485 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 489 struct kern_channel *, struct chreq *, nxspec_cmd_t); 491 struct kern_channel *, struct chreq *, nxspec_cmd_t);
|
| H A D | nx_netif_host.c | 167 nx_netif_host_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in nx_netif_host_krings_create() 207 nx_netif_host_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_krings_delete() 262 nx_netif_host_na_special(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_na_special()
|
| H A D | nx_netif.c | 125 struct kern_nexus *, struct kern_channel *, struct chreq *, 126 struct kern_channel *, struct nxbind *, struct proc *); 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); 1119 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_netif_dom_connect() 1120 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_netif_dom_connect() 1194 struct kern_nexus *nx, struct kern_channel *ch) in nx_netif_dom_disconnect() 1219 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_netif_dom_defunct() 1234 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_netif_dom_defunct_finalize() [all …]
|
| /xnu-8019.80.24/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 74 struct kern_channel *); 76 struct kern_channel *, boolean_t); 85 struct kern_nexus *, struct kern_channel *, struct chreq *, 86 struct kern_channel *, struct nxbind *, struct proc *); 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); 312 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_kpipe_dom_connect() 313 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_kpipe_dom_connect() 378 struct kern_nexus *nx, struct kern_channel *ch) in nx_kpipe_dom_disconnect() [all …]
|
| H A D | nx_kernel_pipe.h | 75 extern int nx_kpipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-8019.80.24/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.h | 80 extern int nx_monitor_na_find(struct kern_nexus *, struct kern_channel *, 81 struct chreq *, struct kern_channel *, struct nxbind *, struct proc *,
|
| H A D | nx_monitor.c | 110 struct kern_channel *); 112 struct kern_channel *, boolean_t); 162 struct kern_nexus *, struct kern_channel *, struct chreq *, 163 struct kern_channel *, struct nxbind *, struct proc *); 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); 360 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_mon_dom_connect() 361 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_mon_dom_connect() 372 struct kern_nexus *nx, struct kern_channel *ch) in nx_mon_dom_disconnect() [all …]
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 102 struct kern_nexus *, struct kern_channel *, struct chreq *, 103 struct kern_channel *, struct nxbind *, struct proc *); 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); 715 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_fsw_dom_connect() 716 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_fsw_dom_connect() 771 struct kern_nexus *nx, struct kern_channel *ch) in nx_fsw_dom_disconnect() 789 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_fsw_dom_defunct() 811 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_fsw_dom_defunct_finalize() [all …]
|
| H A D | nx_flowswitch.h | 247 struct kern_channel *fsw_dev_ch; 248 struct kern_channel *fsw_host_ch; 306 extern int nx_fsw_na_find(struct kern_nexus *, struct kern_channel *,
|
| H A D | fsw_var.h | 91 extern int fsw_attach_vp(struct kern_nexus *nx, struct kern_channel *ch, 115 struct kern_channel *ch); 117 struct kern_channel *ch, boolean_t defunct);
|
| H A D | fsw_vp.c | 60 struct kern_channel *, struct chreq *, nxspec_cmd_t); 158 fsw_vp_na_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in fsw_vp_na_krings_create() 168 fsw_vp_na_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_krings_delete() 283 fsw_vp_na_special(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_special()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 80 struct kern_channel *); 83 struct kern_channel *, boolean_t); 93 struct kern_nexus *, struct kern_channel *, struct chreq *, 94 struct kern_channel *, struct nxbind *, struct proc *); 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); 528 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_upipe_dom_connect() 529 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_upipe_dom_connect() 587 struct kern_nexus *nx, struct kern_channel *ch) in nx_upipe_dom_disconnect() [all …]
|
| H A D | nx_user_pipe.h | 98 extern int nx_upipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-8019.80.24/bsd/skywalk/core/ |
| H A D | skywalk_proc_info.c | 70 fill_channelinfo(struct kern_channel *channel, struct proc_channel_info *info) in fill_channelinfo()
|