Home
last modified time | relevance | path

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

/include/xen/interface/io/
Dring.h158 #define RING_SIZE(_r) \ macro
163 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
178 unsigned int rsp = RING_SIZE(_r) - \
185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
202 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
206 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
210 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))