Searched refs:RING_SIZE (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dring.h142 * requestor (front end) never has more than RING_SIZE()-1
183 #define RING_SIZE(_r) \ macro
188 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
203 unsigned int rsp = RING_SIZE(_r) - \
211 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
213 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
218 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
221 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
225 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnb.c636 (RING_SIZE(_r) - (loop - prod))) ? \
638 (RING_SIZE(_r) - (loop - prod)))
H A Dxnf.c471 ASSERT(slotsfree <= RING_SIZE(&(xnfp->xnf_tx_ring)));
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c2042 #define GET_RING_SIZE(_ringp) RING_SIZE(FRONT_RING(ringp))
2076 ((brp->req_cons - brp->rsp_prod_pvt) != RING_SIZE(brp)));

Completed in 58 milliseconds