Searched refs:cr_mode (Results 1 – 12 of 12) sorted by relevance
| /xnu-8796.141.3/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 1423 boolean_t zcopy = !!(chr->cr_mode & CHMODE_MONITOR_NO_COPY); in nx_monitor_na_find() 1440 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_monitor_na_find() 1443 !(chr->cr_mode & CHMODE_MONITOR) ? " (skipped)" : ""); in nx_monitor_na_find() 1446 if (!(chr->cr_mode & CHMODE_MONITOR)) { in nx_monitor_na_find() 1451 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_monitor_na_find() 1484 pchr.cr_mode &= ~CHMODE_MONITOR; in nx_monitor_na_find() 1530 (chr->cr_mode & CHMODE_MONITOR_TX) ? "r" : "", in nx_monitor_na_find() 1531 (chr->cr_mode & CHMODE_MONITOR_RX) ? "t" : ""); in nx_monitor_na_find() 1545 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find() 1573 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find() [all …]
|
| /xnu-8796.141.3/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 324 (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-8796.141.3/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_vp.c | 362 if ((chr->cr_mode & CHMODE_KERNEL) != 0) { in fsw_vp_na_create() 366 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in fsw_vp_na_create() 406 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in fsw_vp_na_create() 410 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 | 123 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp() 671 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
|
| /xnu-8796.141.3/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 | 1159 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() 3050 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, 3073 if (chr->cr_mode & CHMODE_LOW_LATENCY) { 3096 if (chr->cr_mode & CHMODE_EVENT_RING) { 3109 if (chr->cr_mode & CHMODE_EVENT_RING) { 3118 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); 3128 if (chr->cr_mode & CHMODE_FILTER) {
|
| /xnu-8796.141.3/bsd/skywalk/channel/ |
| H A D | channel.c | 1670 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 D | channel_var.h | 225 uint32_t cr_mode; /* in */ member
|
| /xnu-8796.141.3/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 532 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_upipe_dom_connect() 538 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_upipe_dom_connect() 544 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_upipe_dom_connect() 1469 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_upipe_na_find() 1637 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) != 0) { in nx_upipe_na_find() 1712 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) == 0) { in nx_upipe_na_find()
|
| /xnu-8796.141.3/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 440 uint32_t ch_mode = chr->cr_mode; in na_bind_channel() 2512 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect() 2681 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()
|