Searched refs:RING_SIZE (Results 1 – 2 of 2) sorted by relevance
193 #define RING_SIZE(_r) \ macro198 (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))
310 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