Searched refs:cr_mode (Results 1 – 12 of 12) sorted by relevance
| /xnu-8019.80.24/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 1429 boolean_t zcopy = !!(chr->cr_mode & CHMODE_MONITOR_NO_COPY); in nx_monitor_na_find() 1446 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_monitor_na_find() 1449 !(chr->cr_mode & CHMODE_MONITOR) ? " (skipped)" : ""); in nx_monitor_na_find() 1452 if (!(chr->cr_mode & CHMODE_MONITOR)) { in nx_monitor_na_find() 1457 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_monitor_na_find() 1490 pchr.cr_mode &= ~CHMODE_MONITOR; in nx_monitor_na_find() 1536 (chr->cr_mode & CHMODE_MONITOR_TX) ? "r" : "", in nx_monitor_na_find() 1537 (chr->cr_mode & CHMODE_MONITOR_RX) ? "t" : ""); in nx_monitor_na_find() 1551 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find() 1579 if (!(chr->cr_mode & nx_mon_txrx2chmode(t))) { in nx_monitor_na_find() [all …]
|
| /xnu-8019.80.24/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 320 (int)port, chr->cr_mode, CHMODE_BITS); in nx_kpipe_dom_connect() 336 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_kpipe_dom_connect() 342 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_kpipe_dom_connect() 348 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-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 734 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_fsw_dom_connect() 748 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect() 754 if (chr->cr_mode & CHMODE_HOST) { in nx_fsw_dom_connect() 862 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, chr->cr_pipe_id, in nx_fsw_na_find_log() 915 ASSERT((chr->cr_mode & (CHMODE_KERNEL | CHMODE_CONFIG)) == 0); in nx_fsw_na_find()
|
| H A D | fsw_vp.c | 354 if ((chr->cr_mode & CHMODE_KERNEL) != 0) { in fsw_vp_na_create() 358 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in fsw_vp_na_create() 398 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in fsw_vp_na_create()
|
| H A D | fsw.c | 113 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp() 608 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_filter_vp.c | 532 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_filter_na_create() 533 ASSERT((chr->cr_mode & CHMODE_FILTER) != 0); in netif_filter_na_create() 534 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_filter_na_create() 538 if ((chr->cr_mode & CHMODE_EVENT_RING) != 0) { in netif_filter_na_create()
|
| H A D | nx_netif_vp.c | 338 chr.cr_mode |= CHMODE_CONFIG; in netif_hwna_setup() 958 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_vp_na_create() 959 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_vp_na_create() 1006 if (chr->cr_mode & CHMODE_EVENT_RING) { in netif_vp_na_create()
|
| H A D | nx_netif.c | 1135 if (chr->cr_mode & CHMODE_HOST) { in nx_netif_dom_connect() 1142 if (!(chr->cr_mode & CHMODE_HOST)) { in nx_netif_dom_connect() 1147 chr->cr_mode |= CHMODE_HOST; in nx_netif_dom_connect() 2775 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, 2798 if (chr->cr_mode & CHMODE_LOW_LATENCY) { 2821 if (chr->cr_mode & CHMODE_EVENT_RING) { 2834 if (chr->cr_mode & CHMODE_EVENT_RING) { 2843 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); 2853 if (chr->cr_mode & CHMODE_FILTER) {
|
| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel.c | 1681 chr.cr_mode = mode; in ch_open() 1721 ASSERT((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0); in ch_open_special() 1722 ASSERT((chr->cr_mode & CHMODE_EVENT_RING) == 0); in ch_open_special() 1723 ASSERT((chr->cr_mode & CHMODE_LOW_LATENCY) == 0); in ch_open_special() 1725 chr->cr_mode |= CHMODE_KERNEL; in ch_open_special() 1727 chr->cr_mode |= CHMODE_NO_NXREF; in ch_open_special() 1729 chr->cr_mode &= ~CHMODE_NO_NXREF; in ch_open_special() 1756 sk_uuid_unparse(chr->cr_spec_uuid, uuidstr), chr->cr_mode, in ch_open_special() 2024 uint32_t ch_mode = chr->cr_mode; in ch_connect()
|
| H A D | channel_var.h | 225 uint32_t cr_mode; /* in */ member
|
| /xnu-8019.80.24/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 546 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_upipe_dom_connect() 552 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_upipe_dom_connect() 558 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_upipe_dom_connect() 1485 (int)chr->cr_port, chr->cr_mode, CHMODE_BITS, in nx_upipe_na_find() 1653 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) != 0) { in nx_upipe_na_find() 1728 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) == 0) { in nx_upipe_na_find()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 501 uint32_t ch_mode = chr->cr_mode; in na_bind_channel() 2565 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect() 2734 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()
|