| /xnu-10002.1.13/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 *, 553 na_reject_channel(struct kern_channel *ch, struct nexus_adapter *na) in na_reject_channel() 599 extern int na_bind_channel(struct nexus_adapter *na, struct kern_channel *ch, 601 extern void na_unbind_channel(struct kern_channel *ch); 619 struct kern_channel *); 621 struct kern_channel *, boolean_t); 622 extern void na_ch_rings_defunct(struct kern_channel *, struct proc *); 633 extern int na_find(struct kern_channel *, struct kern_nexus *, [all …]
|
| H A D | nexus_var.h | 65 struct kern_channel; 214 STAILQ_HEAD(, kern_channel) nx_ch_head; 216 STAILQ_HEAD(, kern_channel) nx_ch_nonxref_head; 218 STAILQ_HEAD(, kern_channel) nx_ch_if_adv_head; 395 struct kern_channel *, struct chreq *, struct kern_channel *, 399 struct kern_channel *); 402 struct kern_channel *, struct proc *); 405 struct kern_channel *, boolean_t); 514 extern int nxprov_advise_connect(struct kern_nexus *, struct kern_channel *, 517 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 …]
|
| /xnu-10002.1.13/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 | 556 struct kern_channel; 559 typedef struct kern_channel *kern_channel_t; 684 struct kern_channel *); 686 struct kern_channel *);
|
| H A D | channel_ring.c | 468 kr_txprologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txprologue() 516 kr_txprologue_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txprologue_upp() 658 kr_txsync_prologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_prologue() 772 kr_rxprologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxprologue() 831 kr_rxprologue_nodetach(struct kern_channel *ch, in kr_rxprologue_nodetach() 888 kr_rxprologue_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxprologue_upp() 981 kr_rxsync_prologue(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_rxsync_prologue() 1102 kr_txfinalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize() 1169 kr_txfinalize_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize_upp() 1206 kr_txsync_finalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_finalize() [all …]
|
| H A D | channel_kern.c | 455 struct kern_channel *ch = NULL; in kern_channel_flowadv_clear() 515 struct kern_channel *ch = NULL; in kern_channel_flowadv_report_ce_event() 566 struct kern_channel *ch) in kern_channel_memstatus() 592 _kern_channel_defunct_eligible(struct kern_channel *ch) in _kern_channel_defunct_eligible() 610 kern_channel_defunct(struct proc *p, struct kern_channel *ch) in kern_channel_defunct()
|
| /xnu-10002.1.13/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 | 331 struct kern_channel *nif_hw_ch; 499 struct kern_channel *); 501 struct kern_channel *, boolean_t); 502 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 506 struct kern_channel *, struct chreq *, nxspec_cmd_t); 508 struct kern_channel *, struct chreq *, nxspec_cmd_t);
|
| 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); 1143 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_netif_dom_connect() 1144 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_netif_dom_connect() 1218 struct kern_nexus *nx, struct kern_channel *ch) in nx_netif_dom_disconnect() 1243 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_netif_dom_defunct() 1259 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_netif_dom_defunct_finalize() [all …]
|
| H A D | nx_netif_host.c | 225 nx_netif_host_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in nx_netif_host_krings_create() 265 nx_netif_host_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_krings_delete() 320 nx_netif_host_na_special(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_na_special()
|
| /xnu-10002.1.13/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); 316 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_kpipe_dom_connect() 317 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_kpipe_dom_connect() 382 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-10002.1.13/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); 354 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_mon_dom_connect() 355 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_mon_dom_connect() 366 struct kern_nexus *nx, struct kern_channel *ch) in nx_mon_dom_disconnect() [all …]
|
| /xnu-10002.1.13/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); 764 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_fsw_dom_connect() 765 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_fsw_dom_connect() 814 struct kern_nexus *nx, struct kern_channel *ch) in nx_fsw_dom_disconnect() 832 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_fsw_dom_defunct() 854 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_fsw_dom_defunct_finalize() [all …]
|
| H A D | nx_flowswitch.h | 290 struct kern_channel *fsw_dev_ch; 291 struct kern_channel *fsw_host_ch; 357 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 | 61 struct kern_channel *, struct chreq *, nxspec_cmd_t); 166 fsw_vp_na_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in fsw_vp_na_krings_create() 176 fsw_vp_na_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_krings_delete() 291 fsw_vp_na_special(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_special()
|
| /xnu-10002.1.13/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); 515 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_upipe_dom_connect() 516 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_upipe_dom_connect() 574 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-10002.1.13/bsd/sys/ |
| H A D | proc_info_private.h | 317 struct kern_channel; 318 extern int fill_channelinfo(struct kern_channel * chan,
|
| /xnu-10002.1.13/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()
|