Lines Matching refs:cons
1370 struct netif_extra_info *extras, RING_IDX rp, RING_IDX *cons) in xn_get_extras() argument
1380 if (__predict_false(*cons + 1 == rp)) { in xn_get_extras()
1386 RING_GET_RESPONSE(&rxq->ring, ++(*cons)); in xn_get_extras()
1395 m = xn_get_rx_mbuf(rxq, *cons); in xn_get_extras()
1396 ref = xn_get_rx_ref(rxq, *cons); in xn_get_extras()
1405 struct netfront_rx_info *rinfo, RING_IDX rp, RING_IDX *cons, in xn_get_responses() argument
1411 grant_ref_t ref = xn_get_rx_ref(rxq, *cons); in xn_get_responses()
1412 RING_IDX ref_cons = *cons; in xn_get_responses()
1417 m0 = m = m_prev = xn_get_rx_mbuf(rxq, *cons); in xn_get_responses()
1420 err = xn_get_extras(rxq, extras, rp, cons); in xn_get_responses()
1472 if (*cons + frags == rp) { in xn_get_responses()
1477 __func__, *cons, frags, rp); in xn_get_responses()
1486 rx = RING_GET_RESPONSE(&rxq->ring, *cons + frags); in xn_get_responses()
1487 m = xn_get_rx_mbuf(rxq, *cons + frags); in xn_get_responses()
1503 ref = xn_get_rx_ref(rxq, *cons + frags); in xn_get_responses()
1504 ref_cons = *cons + frags; in xn_get_responses()
1508 *cons += frags; in xn_get_responses()