Home
last modified time | relevance | path

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

/linux-4.19.296/include/xen/interface/io/
Dring.h176 #define RING_SIZE(_r) \ macro
181 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
195 unsigned int rsp = RING_SIZE(_r) - \
202 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
205 (&((_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))
234 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
/linux-4.19.296/drivers/xen/
Dpvcalls-front.c136 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); in get_request()