Searched refs:cr_mode (Results 1 – 12 of 12) sorted by relevance
| /xnu-11215.1.10/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-11215.1.10/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-11215.1.10/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_filter_vp.c | 531 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_filter_na_create() 532 ASSERT((chr->cr_mode & CHMODE_FILTER) != 0); in netif_filter_na_create() 533 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_filter_na_create() 537 if ((chr->cr_mode & CHMODE_EVENT_RING) != 0) { in netif_filter_na_create()
|
| H A D | nx_netif_vp.c | 345 chr.cr_mode |= CHMODE_CONFIG; in netif_hwna_setup() 970 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_vp_na_create() 971 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_vp_na_create() 1018 if (chr->cr_mode & CHMODE_EVENT_RING) { in netif_vp_na_create()
|
| H A D | nx_netif.c | 1162 if (chr->cr_mode & CHMODE_HOST) { in nx_netif_dom_connect() 1169 if (!(chr->cr_mode & CHMODE_HOST)) { in nx_netif_dom_connect() 1174 chr->cr_mode |= CHMODE_HOST; in nx_netif_dom_connect() 3108 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, 3131 if (chr->cr_mode & CHMODE_LOW_LATENCY) { 3154 if (chr->cr_mode & CHMODE_EVENT_RING) { 3167 if (chr->cr_mode & CHMODE_EVENT_RING) { 3176 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); 3186 if (chr->cr_mode & CHMODE_FILTER) {
|
| /xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_vp.c | 348 if ((chr->cr_mode & CHMODE_KERNEL) != 0) { in fsw_vp_na_create() 352 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in fsw_vp_na_create() 394 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in fsw_vp_na_create() 398 if (chr->cr_mode & CHMODE_EVENT_RING) { in fsw_vp_na_create()
|
| H A D | nx_flowswitch.c | 891 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, chr->cr_pipe_id, in nx_fsw_na_find_log() 943 ASSERT((chr->cr_mode & (CHMODE_KERNEL | CHMODE_CONFIG)) == 0); in nx_fsw_na_find()
|
| H A D | fsw.c | 124 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp() 763 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 533 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() 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-11215.1.10/bsd/skywalk/channel/ |
| H A D | channel.c | 1692 chr.cr_mode = mode; in ch_open() 1732 ASSERT((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0); in ch_open_special() 1733 ASSERT((chr->cr_mode & CHMODE_EVENT_RING) == 0); in ch_open_special() 1734 ASSERT((chr->cr_mode & CHMODE_LOW_LATENCY) == 0); in ch_open_special() 1736 chr->cr_mode |= CHMODE_KERNEL; in ch_open_special() 1738 chr->cr_mode |= CHMODE_NO_NXREF; in ch_open_special() 1740 chr->cr_mode &= ~CHMODE_NO_NXREF; in ch_open_special() 1767 sk_uuid_unparse(chr->cr_spec_uuid, uuidstr), chr->cr_mode, in ch_open_special() 2037 uint32_t ch_mode = chr->cr_mode; in ch_connect()
|
| H A D | channel_var.h | 227 uint32_t cr_mode; /* in */ member
|
| /xnu-11215.1.10/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 442 uint32_t ch_mode = chr->cr_mode; in na_bind_channel() 2642 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect() 2809 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()
|