| /xnu-8792.41.9/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 *, 539 na_reject_channel(struct kern_channel *ch, struct nexus_adapter *na) in na_reject_channel() 585 extern int na_bind_channel(struct nexus_adapter *na, struct kern_channel *ch, 587 extern void na_unbind_channel(struct kern_channel *ch); 605 struct kern_channel *); 607 struct kern_channel *, boolean_t); 608 extern void na_ch_rings_defunct(struct kern_channel *, struct proc *); 619 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; 394 struct kern_channel *, struct chreq *, struct kern_channel *, 398 struct kern_channel *); 401 struct kern_channel *, struct proc *); 404 struct kern_channel *, boolean_t); 512 extern int nxprov_advise_connect(struct kern_nexus *, struct kern_channel *, 515 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-8792.41.9/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 | 542 struct kern_channel; 545 typedef struct kern_channel *kern_channel_t; 668 struct kern_channel *); 670 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 | 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-8792.41.9/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); 1145 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_netif_dom_connect() 1146 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_netif_dom_connect() 1220 struct kern_nexus *nx, struct kern_channel *ch) in nx_netif_dom_disconnect() 1245 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_netif_dom_defunct() 1261 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 | 211 nx_netif_host_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in nx_netif_host_krings_create() 251 nx_netif_host_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_krings_delete() 306 nx_netif_host_na_special(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_na_special()
|
| /xnu-8792.41.9/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); 317 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_kpipe_dom_connect() 318 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_kpipe_dom_connect() 383 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-8792.41.9/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); 355 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_mon_dom_connect() 356 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_mon_dom_connect() 367 struct kern_nexus *nx, struct kern_channel *ch) in nx_mon_dom_disconnect() [all …]
|
| /xnu-8792.41.9/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); 713 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_fsw_dom_connect() 714 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_fsw_dom_connect() 763 struct kern_nexus *nx, struct kern_channel *ch) in nx_fsw_dom_disconnect() 781 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_fsw_dom_defunct() 803 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_fsw_dom_defunct_finalize() [all …]
|
| H A D | nx_flowswitch.h | 288 struct kern_channel *fsw_dev_ch; 289 struct kern_channel *fsw_host_ch; 352 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); 167 fsw_vp_na_krings_create(struct nexus_adapter *na, struct kern_channel *ch) in fsw_vp_na_krings_create() 177 fsw_vp_na_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_krings_delete() 292 fsw_vp_na_special(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_special()
|
| /xnu-8792.41.9/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); 516 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_upipe_dom_connect() 517 struct kern_channel *ch0, struct nxbind *nxb, struct proc *p) in nx_upipe_dom_connect() 575 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-8792.41.9/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()
|
| /xnu-8792.41.9/bsd/skywalk/mem/ |
| H A D | skmem_arena_var.h | 264 struct kern_channel *);
|