Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/skywalk/nexus/kpipe/
H A Dnx_kernel_pipe.c323 SK_DF(SK_VERB_KERNEL_PIPE, "port %d mode 0x%x", port, chr->cr_mode); in nx_kpipe_dom_connect()
339 if (chr->cr_mode & CHMODE_USER_PACKET_POOL) { in nx_kpipe_dom_connect()
345 if (chr->cr_mode & CHMODE_EVENT_RING) { in nx_kpipe_dom_connect()
351 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in nx_kpipe_dom_connect()
712 (int)chr->cr_port, chr->cr_mode, chr->cr_pipe_id, in nx_kpipe_na_find()
/xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/
H A Dfsw_vp.c346 if ((chr->cr_mode & CHMODE_KERNEL) != 0) { in fsw_vp_na_create()
350 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in fsw_vp_na_create()
392 if (chr->cr_mode & CHMODE_LOW_LATENCY) { in fsw_vp_na_create()
396 if (chr->cr_mode & CHMODE_EVENT_RING) { in fsw_vp_na_create()
H A Dnx_flowswitch.c891 (int)chr->cr_port, chr->cr_mode, 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 Dfsw.c127 ASSERT(!(chr->cr_mode & CHMODE_CONFIG)); in fsw_attach_vp()
766 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
/xnu-12377.41.6/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_vp.c531 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 Dnx_netif_vp.c343 chr.cr_mode |= CHMODE_CONFIG; in netif_hwna_setup()
973 ASSERT((chr->cr_mode & CHMODE_KERNEL) == 0); in netif_vp_na_create()
974 if ((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0) { in netif_vp_na_create()
1021 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()
3175 (int)chr->cr_port, chr->cr_mode, chr->cr_pipe_id,
3197 if (chr->cr_mode & CHMODE_LOW_LATENCY) {
3220 if (chr->cr_mode & CHMODE_EVENT_RING) {
3233 if (chr->cr_mode & CHMODE_EVENT_RING) {
3242 ASSERT(!(chr->cr_mode & CHMODE_CONFIG));
3252 if (chr->cr_mode & CHMODE_FILTER) {
/xnu-12377.41.6/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, chr->cr_pipe_id, in nx_upipe_na_find()
1637 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) != 0) { in nx_upipe_na_find()
1710 if ((chr->cr_mode & CHMODE_DEFUNCT_OK) == 0) { in nx_upipe_na_find()
/xnu-12377.41.6/bsd/skywalk/channel/
H A Dchannel.c1656 chr.cr_mode = mode; in ch_open()
1700 ASSERT((chr->cr_mode & CHMODE_USER_PACKET_POOL) == 0); in ch_open_special()
1701 ASSERT((chr->cr_mode & CHMODE_EVENT_RING) == 0); in ch_open_special()
1702 ASSERT((chr->cr_mode & CHMODE_LOW_LATENCY) == 0); in ch_open_special()
1704 chr->cr_mode |= CHMODE_KERNEL; in ch_open_special()
1706 chr->cr_mode |= CHMODE_NO_NXREF; in ch_open_special()
1708 chr->cr_mode &= ~CHMODE_NO_NXREF; in ch_open_special()
1746 sk_uuid_unparse(chr->cr_spec_uuid, uuidstr), chr->cr_mode, *err); in ch_open_special()
2015 uint32_t ch_mode = chr->cr_mode; in ch_connect()
H A Dchannel_var.h228 uint32_t cr_mode; /* in */ member
/xnu-12377.41.6/bsd/skywalk/nexus/
H A Dnexus_adapter.c441 uint32_t ch_mode = chr->cr_mode; in na_bind_channel()
2615 ASSERT(!(chr->cr_mode & CHMODE_KERNEL)); in na_connect()
2781 ASSERT(chr->cr_mode & CHMODE_KERNEL); in na_connect_spec()