Searched refs:RING_SIZE (Results 1 – 3 of 3) sorted by relevance
178 #define RING_SIZE(_r) \ macro183 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))198 UINT32 rsp = RING_SIZE(_r) - \206 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \208 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))213 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))216 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))220 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))224 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
119 #define RING_SIZE 256 macro126 unsigned char data[RING_SIZE];137 return (ring->head + 1) & (RING_SIZE - 1); in ring_next_head()142 return (ring->tail + 1) & (RING_SIZE - 1); in ring_next_tail()
575 if (RING_FREE_REQUESTS (&Dev->Ring) == RING_SIZE (&Dev->Ring)) { in XenPvBlockSync()