Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/xen/public/io/
H A Dring.h183 #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))
/titanic_50/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))); in tx_slots_get()
/titanic_50/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))); in xvdi_ring_has_unconsumed_requests()