| /xnu-11417.121.6/bsd/skywalk/channel/ |
| H A D | channel_var.h | 141 struct kern_channel { struct 164 STAILQ_ENTRY(kern_channel) ch_link; argument 165 STAILQ_ENTRY(kern_channel) ch_link_if_adv; 412 int (*ckr_prologue)(struct kern_channel *, 415 void (*ckr_finalize)(struct kern_channel *, 837 extern struct kern_channel *ch_open(struct ch_init *, struct proc *, 839 extern struct kern_channel *ch_open_special(struct kern_nexus *, 841 extern void ch_close(struct kern_channel *, boolean_t); 842 extern void ch_close_special(struct kern_channel *); 843 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 | 77 struct kern_channel *ch; in chop_select() 79 ch = (struct kern_channel *)fp_get_data(fp); in chop_select() 110 struct kern_channel *ch; in chop_close() 112 ch = (struct kern_channel *)fg_get_data(fg); in chop_close() 128 struct kern_channel *ch = (struct kern_channel *)fp_get_data(fp); in chop_kqfilter() 138 struct kern_channel *ch = NULL; in __channel_open() 308 struct kern_channel *ch = NULL; in __channel_get_info() 318 ch = (struct kern_channel *__single)fp_get_data(fp); in __channel_get_info() 348 const struct nexus_adapter *na, const struct kern_channel *ch, in channel_sync_log1() 380 struct kern_channel *ch; in __channel_sync() [all …]
|
| H A D | os_channel.h | 556 struct kern_channel; 559 typedef struct kern_channel *kern_channel_t; 685 struct kern_channel *); 687 struct kern_channel *);
|
| H A D | channel_kern.c | 452 typedef bool (* flow_adv_func_type_t)(const struct kern_channel *, 467 struct kern_channel *ch = NULL; in _kern_channel_flowadv_signal() 553 struct kern_channel *ch = NULL; in kern_channel_flowadv_report_ce_event() 604 struct kern_channel *ch) in kern_channel_memstatus() 630 _kern_channel_defunct_eligible(struct kern_channel *ch) in _kern_channel_defunct_eligible() 648 kern_channel_defunct(struct proc *p, struct kern_channel *ch) in kern_channel_defunct()
|
| 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() 1107 kr_txfinalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize() 1174 kr_txfinalize_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize_upp() 1211 kr_txsync_finalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_finalize() [all …]
|
| /xnu-11417.121.6/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.h | 290 int (*na_special)(struct nexus_adapter *, struct kern_channel *, 342 int (*na_krings_create)(struct nexus_adapter *, struct kern_channel *); 343 void (*na_krings_delete)(struct nexus_adapter *, struct kern_channel *, 566 na_reject_channel(struct kern_channel *ch, struct nexus_adapter *na) in na_reject_channel() 612 extern int na_bind_channel(struct nexus_adapter *na, struct kern_channel *ch, 614 extern void na_unbind_channel(struct kern_channel *ch); 632 struct kern_channel *); 634 struct kern_channel *, boolean_t); 635 extern void na_ch_rings_defunct(struct kern_channel *, struct proc *); 646 extern int na_find(struct kern_channel *, struct kern_nexus *, [all …]
|
| H A D | nexus_var.h | 65 struct kern_channel; 219 STAILQ_HEAD(, kern_channel) nx_ch_head; 221 STAILQ_HEAD(, kern_channel) nx_ch_nonxref_head; 223 STAILQ_HEAD(, kern_channel) nx_ch_if_adv_head; 402 struct kern_channel *, struct chreq *, struct kern_channel *, 406 struct kern_channel *); 409 struct kern_channel *, struct proc *); 412 struct kern_channel *, boolean_t); 521 extern int nxprov_advise_connect(struct kern_nexus *, struct kern_channel *, 524 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-11417.121.6/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 | 312 struct kern_channel *nif_hw_ch; 503 struct kern_channel *); 505 struct kern_channel *, boolean_t); 506 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 510 struct kern_channel *, struct chreq *, nxspec_cmd_t); 512 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); 1144 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_netif_dom_connect() 1145 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_netif_dom_connect() 1219 struct kern_nexus *nx, struct kern_channel *ch) in nx_netif_dom_disconnect() 1244 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_netif_dom_defunct() 1260 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 | 232 nx_netif_host_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in nx_netif_host_krings_create() 272 nx_netif_host_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_krings_delete() 327 nx_netif_host_na_special(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_na_special()
|
| /xnu-11417.121.6/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-11417.121.6/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-11417.121.6/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); 767 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_fsw_dom_connect() 768 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_fsw_dom_connect() 800 struct kern_nexus *nx, struct kern_channel *ch) in nx_fsw_dom_disconnect() 818 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_fsw_dom_defunct() 840 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_fsw_dom_defunct_finalize() [all …]
|
| H A D | nx_flowswitch.h | 291 struct kern_channel *fsw_dev_ch; 292 struct kern_channel *fsw_host_ch; 361 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() 276 fsw_vp_na_special(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_special()
|
| /xnu-11417.121.6/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-11417.121.6/bsd/sys/ |
| H A D | proc_info_private.h | 337 struct kern_channel; 338 extern int fill_channelinfo(struct kern_channel * chan,
|
| /xnu-11417.121.6/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()
|