| /xnu-12377.41.6/bsd/skywalk/channel/ |
| H A D | channel_var.h | 142 struct kern_channel { struct 165 STAILQ_ENTRY(kern_channel) ch_link; argument 166 STAILQ_ENTRY(kern_channel) ch_link_if_adv; 412 int (*ckr_prologue)(struct kern_channel *, 415 void (*ckr_finalize)(struct kern_channel *, 795 extern struct kern_channel *ch_open(struct ch_init *, struct proc *, 797 extern struct kern_channel *ch_open_special(struct kern_nexus *, 799 extern void ch_close(struct kern_channel *, boolean_t); 800 extern void ch_close_special(struct kern_channel *); 801 extern int ch_kqfilter(struct kern_channel *, struct knote *, [all …]
|
| H A D | channel.c | 85 static void ch_close_common(struct kern_channel *, boolean_t, boolean_t); 86 static struct kern_channel *ch_find(struct kern_nexus *, nexus_port_t, 90 static struct kern_channel *ch_connect(struct kern_nexus *, struct chreq *, 92 static void ch_disconnect(struct kern_channel *); 93 static int ch_set_lowat_thresh(struct kern_channel *, enum txrx, 95 static int ch_get_lowat_thresh(struct kern_channel *, enum txrx, 97 static struct kern_channel *ch_alloc(zalloc_flags_t); 98 static void ch_free(struct kern_channel *); 99 static int ch_configure_interface_advisory_event(struct kern_channel *ch, 123 static int ch_event(struct kern_channel *ch, int events, [all …]
|
| H A D | channel_syscalls.c | 79 struct kern_channel *ch; in chop_select() 81 ch = (struct kern_channel *)fp_get_data(fp); in chop_select() 112 struct kern_channel *ch; in chop_close() 114 ch = (struct kern_channel *)fg_get_data(fg); in chop_close() 130 struct kern_channel *ch = (struct kern_channel *)fp_get_data(fp); in chop_kqfilter() 140 struct kern_channel *ch = NULL; in __channel_open() 291 struct kern_channel *ch = NULL; in __channel_get_info() 301 ch = (struct kern_channel *__single)fp_get_data(fp); in __channel_get_info() 331 const struct nexus_adapter *na, const struct kern_channel *ch, in channel_sync_log1() 363 struct kern_channel *ch; in __channel_sync() [all …]
|
| H A D | os_channel.h | 557 struct kern_channel; 560 typedef struct kern_channel *kern_channel_t; 686 struct kern_channel *); 688 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_congestion_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() 1105 kr_txfinalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize() 1172 kr_txfinalize_upp(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txfinalize_upp() 1209 kr_txsync_finalize(struct kern_channel *ch, struct __kern_channel_ring *kring, in kr_txsync_finalize() [all …]
|
| /xnu-12377.41.6/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.h | 287 int (*na_special)(struct nexus_adapter *, struct kern_channel *, 339 int (*na_krings_create)(struct nexus_adapter *, struct kern_channel *); 340 void (*na_krings_delete)(struct nexus_adapter *, struct kern_channel *, 563 na_reject_channel(struct kern_channel *ch, struct nexus_adapter *na) in na_reject_channel() 609 extern int na_bind_channel(struct nexus_adapter *na, struct kern_channel *ch, 611 extern void na_unbind_channel(struct kern_channel *ch); 629 struct kern_channel *); 631 struct kern_channel *, boolean_t); 632 extern void na_ch_rings_defunct(struct kern_channel *, struct proc *); 643 extern int na_find(struct kern_channel *, struct kern_nexus *, struct chreq *, [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 nxbind *, struct proc *); 405 struct kern_channel *); 408 struct kern_channel *, struct proc *); 411 struct kern_channel *, boolean_t); 525 extern int nxprov_advise_connect(struct kern_nexus *, struct kern_channel *, 528 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 | 81 static int nx_init_rings(struct kern_nexus *, struct kern_channel *); 82 static void nx_fini_rings(struct kern_nexus *, struct kern_channel *); 1047 struct kern_channel *ch = NULL; in nxctl_get_channel_list() 1261 nxprov_advise_connect(struct kern_nexus *nx, struct kern_channel *ch, in nxprov_advise_connect() 1336 nxprov_advise_disconnect(struct kern_nexus *nx, struct kern_channel *ch) in nxprov_advise_disconnect() 2301 nx_init_rings(struct kern_nexus *nx, struct kern_channel *ch) in nx_init_rings() 2381 nx_fini_rings(struct kern_nexus *nx, struct kern_channel *ch) in nx_fini_rings() 3189 channel_ring_count(struct kern_channel *ch, enum txrx which) in channel_ring_count() 3258 nexus_channel_entry_populate(struct kern_channel *ch, in nexus_channel_entry_populate() 3301 struct kern_channel *ch = NULL; in nexus_channel_info_populate() [all …]
|
| /xnu-12377.41.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 | 318 struct kern_channel *nif_hw_ch; 511 struct kern_channel *); 513 struct kern_channel *, boolean_t); 514 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 518 struct kern_channel *, struct chreq *, nxspec_cmd_t); 520 struct kern_channel *, struct chreq *, nxspec_cmd_t);
|
| H A D | nx_netif.c | 126 struct kern_nexus *, struct kern_channel *, struct chreq *, struct nxbind *, 129 struct kern_nexus *, struct kern_channel *); 131 struct kern_nexus *, struct kern_channel *, struct proc *); 133 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() 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() 2947 struct kern_channel **ch_list = NULL; in nx_netif_llw_detach_notify() 2948 struct kern_channel *ch; in nx_netif_llw_detach_notify() [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() 271 nx_netif_host_krings_delete(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_krings_delete() 326 nx_netif_host_na_special(struct nexus_adapter *na, struct kern_channel *ch, in nx_netif_host_na_special()
|
| /xnu-12377.41.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 *, struct nxbind *, 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() 381 struct kern_nexus *nx, struct kern_channel *ch) in nx_kpipe_dom_disconnect() 402 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_kpipe_dom_defunct() 443 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_kpipe_dom_defunct_finalize() [all …]
|
| H A D | nx_kernel_pipe.h | 75 extern int nx_kpipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 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); 766 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_fsw_dom_connect() 799 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() 909 nx_fsw_na_find(struct kern_nexus *nx, struct kern_channel *ch, in nx_fsw_na_find()
|
| H A D | nx_flowswitch.h | 291 struct kern_channel *fsw_dev_ch; 292 struct kern_channel *fsw_host_ch; 364 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() 274 fsw_vp_na_special(struct nexus_adapter *na, struct kern_channel *ch, in fsw_vp_na_special()
|
| /xnu-12377.41.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 *, struct nxbind *, 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() 573 struct kern_nexus *nx, struct kern_channel *ch) in nx_upipe_dom_disconnect() 594 struct kern_nexus *nx, struct kern_channel *ch, struct proc *p) in nx_upipe_dom_defunct() 644 struct kern_nexus *nx, struct kern_channel *ch, boolean_t locked) in nx_upipe_dom_defunct_finalize() [all …]
|
| H A D | nx_user_pipe.h | 98 extern int nx_upipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | proc_info_private.h | 330 struct kern_channel; 331 extern int fill_channelinfo(struct kern_channel * chan,
|
| /xnu-12377.41.6/bsd/skywalk/core/ |
| H A D | skywalk_proc_info.c | 61 fill_channelinfo(struct kern_channel *channel, struct proc_channel_info *info) in fill_channelinfo()
|
| /xnu-12377.41.6/bsd/skywalk/mem/ |
| H A D | skmem_arena_var.h | 260 struct kern_channel *);
|