Home
last modified time | relevance | path

Searched refs:cr_mode (Results 1 – 12 of 12) sorted by relevance

/xnu-10002.1.13/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1424 boolean_t zcopy = !!(chr->cr_mode & CHMODE_MONITOR_NO_COPY); in nx_monitor_na_find()
1441 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_monitor_na_find()
1444 !(chr->cr_mode & CHMODE_MONITOR) ? " (skipped)" : ""); in nx_monitor_na_find()
1447 if (!(chr->cr_mode & CHMODE_MONITOR)) { in nx_monitor_na_find()
1452 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_monitor_na_find()
1485 pchr.cr_mode &= ~CHMODE_MONITOR; in nx_monitor_na_find()
1531 (chr->cr_mode & CHMODE_MONITOR_TX) ? "r" : "", in nx_monitor_na_find()
1532 (chr->cr_mode & CHMODE_MONITOR_RX) ? "t" : ""); in nx_monitor_na_find()
1546 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find()
1574 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find()
[all …]
/xnu-10002.1.13/bsd/skywalk/nexus/kpipe/
H A Dnx_kernel_pipe.c324 (int)port, chr->cr_mode, CHMODE_BITS); in nx_kpipe_dom_connect()
340 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_kpipe_dom_connect()
346 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_kpipe_dom_connect()
352 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_kpipe_dom_connect()
714 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_kpipe_na_find()
/xnu-10002.1.13/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_vp.c530 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_filter_na_create()
531 ASSERT((chr->cr_mode & CHMODE_FILTER) != 0); in netif_filter_na_create()
532 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_filter_na_create()
536 if ((chr->cr_mode & CHMODE_EVENT_RING) != 0) { in netif_filter_na_create()
H A Dnx_netif_vp.c340 chr.cr_mode |= CHMODE_CONFIG; in netif_hwna_setup()
968 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_vp_na_create()
969 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_vp_na_create()
1016 if (chr->cr_mode & CHMODE_EVENT_RING) { in netif_vp_na_create()
H A Dnx_netif.c1159 if (chr->cr_mode & CHMODE_HOST) { in nx_netif_dom_connect()
1166 if (!(chr->cr_mode & CHMODE_HOST)) { in nx_netif_dom_connect()
1171 chr->cr_mode |= CHMODE_HOST; in nx_netif_dom_connect()
3095 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS,
3118 if (chr->cr_mode & CHMODE_LOW_LATENCY) {
3141 if (chr->cr_mode & CHMODE_EVENT_RING) {
3154 if (chr->cr_mode & CHMODE_EVENT_RING) {
3163 ASSERT(!(chr->cr_mode & CHMODE_CONFIG));
3173 if (chr->cr_mode & CHMODE_FILTER) {
/xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/
H A Dfsw_vp.c363 if ((chr->cr_mode & CHMODE_KERNEL) != 0) { in fsw_vp_na_create()
367 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in fsw_vp_na_create()
407 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in fsw_vp_na_create()
411 if (chr->cr_mode & CHMODE_EVENT_RING) { in fsw_vp_na_create()
H A Dnx_flowswitch.c791 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect()
797 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect()
905 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, chr->cr_pipe_id, in nx_fsw_na_find_log()
958 ASSERT((chr->cr_mode & (CHMODE_KERNEL | CHMODE_CONFIG)) == 0); in nx_fsw_na_find()
H A Dfsw.c123 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp()
759 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
/xnu-10002.1.13/bsd/skywalk/nexus/upipe/
H A Dnx_user_pipe.c533 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_upipe_dom_connect()
539 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_upipe_dom_connect()
545 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_upipe_dom_connect()
1470 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_upipe_na_find()
1638 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) != 0) { in nx_upipe_na_find()
1713 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) == 0) { in nx_upipe_na_find()
/xnu-10002.1.13/bsd/skywalk/channel/
H A Dchannel.c1670 chr.cr_mode = mode; in ch_open()
1710 ASSERT((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0); in ch_open_special()
1711 ASSERT((chr->cr_mode & CHMODE_EVENT_RING) == 0); in ch_open_special()
1712 ASSERT((chr->cr_mode & CHMODE_LOW_LATENCY) == 0); in ch_open_special()
1714 chr->cr_mode |= CHMODE_KERNEL; in ch_open_special()
1716 chr->cr_mode |= CHMODE_NO_NXREF; in ch_open_special()
1718 chr->cr_mode &= ~CHMODE_NO_NXREF; in ch_open_special()
1745 sk_uuid_unparse(chr->cr_spec_uuid, uuidstr), chr->cr_mode, in ch_open_special()
2013 uint32_t ch_mode = chr->cr_mode; in ch_connect()
H A Dchannel_var.h225 uint32_t cr_mode; /* in */ member
/xnu-10002.1.13/bsd/skywalk/nexus/
H A Dnexus_adapter.c450 uint32_t ch_mode = chr->cr_mode; in na_bind_channel()
2577 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect()
2744 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()