Searched refs:cr_mode (Results 1 – 12 of 12) sorted by relevance
| /xnu-8792.41.9/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 1424 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-8792.41.9/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 325 (int)port, chr->cr_mode, CHMODE_BITS); in nx_kpipe_dom_connect() 341 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_kpipe_dom_connect() 347 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_kpipe_dom_connect() 353 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_kpipe_dom_connect() 715 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_kpipe_na_find()
|
| /xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_vp.c | 363 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 D | nx_flowswitch.c | 740 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect() 746 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect() 854 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, chr->cr_pipe_id, in nx_fsw_na_find_log() 907 ASSERT((chr->cr_mode & (CHMODE_KERNEL | CHMODE_CONFIG)) == 0); in nx_fsw_na_find()
|
| H A D | fsw.c | 125 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp() 673 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
|
| /xnu-8792.41.9/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_filter_vp.c | 530 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 D | nx_netif_vp.c | 340 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 D | nx_netif.c | 1161 if (chr->cr_mode & CHMODE_HOST) { in nx_netif_dom_connect() 1168 if (!(chr->cr_mode & CHMODE_HOST)) { in nx_netif_dom_connect() 1173 chr->cr_mode |= CHMODE_HOST; in nx_netif_dom_connect() 3057 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, 3080 if (chr->cr_mode & CHMODE_LOW_LATENCY) { 3103 if (chr->cr_mode & CHMODE_EVENT_RING) { 3116 if (chr->cr_mode & CHMODE_EVENT_RING) { 3125 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); 3135 if (chr->cr_mode & CHMODE_FILTER) {
|
| /xnu-8792.41.9/bsd/skywalk/channel/ |
| H A D | channel.c | 1672 chr.cr_mode = mode; in ch_open() 1712 ASSERT((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0); in ch_open_special() 1713 ASSERT((chr->cr_mode & CHMODE_EVENT_RING) == 0); in ch_open_special() 1714 ASSERT((chr->cr_mode & CHMODE_LOW_LATENCY) == 0); in ch_open_special() 1716 chr->cr_mode |= CHMODE_KERNEL; in ch_open_special() 1718 chr->cr_mode |= CHMODE_NO_NXREF; in ch_open_special() 1720 chr->cr_mode &= ~CHMODE_NO_NXREF; in ch_open_special() 1747 sk_uuid_unparse(chr->cr_spec_uuid, uuidstr), chr->cr_mode, in ch_open_special() 2015 uint32_t ch_mode = chr->cr_mode; in ch_connect()
|
| H A D | channel_var.h | 225 uint32_t cr_mode; /* in */ member
|
| /xnu-8792.41.9/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 534 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_upipe_dom_connect() 540 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_upipe_dom_connect() 546 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_upipe_dom_connect() 1471 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_upipe_na_find() 1639 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) != 0) { in nx_upipe_na_find() 1714 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) == 0) { in nx_upipe_na_find()
|
| /xnu-8792.41.9/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 441 uint32_t ch_mode = chr->cr_mode; in na_bind_channel() 2532 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect() 2701 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()
|