Lines Matching refs:cons
1432 RING_IDX cons, prod, i; in xnf_tx_clean_ring() local
1434 cons = xnfp->xnf_tx_ring.rsp_cons; in xnf_tx_clean_ring()
1441 DTRACE_PROBE2(xnf_tx_clean_range, int, cons, int, prod); in xnf_tx_clean_ring()
1442 for (i = cons; i != prod; i++) { in xnf_tx_clean_ring()
2277 RING_IDX cons = *consp; in xnf_rx_one_packet() local
2282 netif_rx_response_t rsp = *RING_GET_RESPONSE(&xnfp->xnf_rx_ring, cons); in xnf_rx_one_packet()
2290 while (cons != prod) { in xnf_rx_one_packet()
2293 int rxidx = cons & (NET_RX_RING_SIZE - 1); in xnf_rx_one_packet()
2438 cons++; in xnf_rx_one_packet()
2452 rsp = *RING_GET_RESPONSE(&xnfp->xnf_rx_ring, cons); in xnf_rx_one_packet()
2458 ASSERT3U(*consp, !=, cons); in xnf_rx_one_packet()
2459 *consp = cons; in xnf_rx_one_packet()