RING_SIZE
(RING_SIZE(_r) - (loop - prod))) ? \
(RING_SIZE(_r) - (loop - prod)))
ASSERT(slotsfree <= RING_SIZE(&(xnfp->xnf_tx_ring)));
#define GET_RING_SIZE(_ringp) RING_SIZE(FRONT_RING(ringp))
((brp->req_cons - brp->rsp_prod_pvt) != RING_SIZE(brp)));
(RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
unsigned int rsp = RING_SIZE(_r) - \
(RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
(RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
(&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
(&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
(((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))