Home
last modified time | relevance | path

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

/u-boot/include/xen/interface/io/
A Dring.h170 #define RING_SIZE(_r) \ macro
175 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
190 unsigned int rsp = RING_SIZE(_r) - \
198 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
200 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
205 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
222 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
226 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
230 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
/u-boot/drivers/xen/
A Dpvblock.c581 if (RING_FREE_REQUESTS(&dev->ring) == RING_SIZE(&dev->ring)) in blkfront_sync()

Completed in 5 milliseconds