Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/xen/interface/io/
Dring.h178 #define RING_SIZE(_r) \ macro
183 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
198 unsigned int rsp = RING_SIZE(_r) - \
206 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
208 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
213 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
216 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
220 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
224 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
/freebsd-12-stable/sys/dev/qat/
Dqatvar.h160 #define QAT_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument
161 ((((1 << (RING_SIZE - 1)) << 3) >> QAT_SIZE_TO_POW(MSG_SIZE)) - 1)
/freebsd-12-stable/sys/dev/xen/netback/
Dnetback_unit_tests.c609 rsize = RING_SIZE(&xnb_unit_pvt.txf); in xnb_ring2pkt_wraps()
916 rsize = RING_SIZE(&xnb_unit_pvt.txf); in xnb_txpkt2rsp_wraps()
Dnetback.c128 unsigned int rsp = RING_SIZE(_r) - \