Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/include/public/io/
A Dring.h193 #define RING_SIZE(_r) \ macro
198 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
213 unsigned int rsp = RING_SIZE(_r) - \
221 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
223 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
228 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
245 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
249 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
253 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-client.c310 RING_SIZE(&wl->fring)); in writelog_enqueue_requests()
429 if (RING_FREE_REQUESTS(&wl->fring) < RING_SIZE(&wl->fring)) in read_loop()

Completed in 4 milliseconds