Searched refs:RING_SIZE (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_access_macros.h48 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \
49 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
/linux-master/include/xen/interface/io/
H A Dring.h128 * requestor (front end) never has more than RING_SIZE()-1
163 #define RING_SIZE(_r) \ macro
168 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
182 unsigned int rsp = RING_SIZE(_r) - \
194 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
197 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
218 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
222 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
226 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c111 #define RING_SIZE 2 macro
115 #define CH_RINGS_SIZE (MAX_VIPS * RING_SIZE)
220 __u32 hash = get_packet_hash(pckt, is_ipv6) % RING_SIZE;
221 __u32 key = RING_SIZE * vip_info->vip_num + hash;
H A Dtest_l4lb_noinline.c107 #define RING_SIZE 2 macro
111 #define CH_RINGS_SIZE (MAX_VIPS * RING_SIZE)
216 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE;
H A Dtest_l4lb_noinline_dynptr.c109 #define RING_SIZE 2 macro
113 #define CH_RINGS_SIZE (MAX_VIPS * RING_SIZE)
218 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE;
/linux-master/drivers/net/xen-netback/
H A Dnetback.c1556 if (req_prod - rsp_prod > RING_SIZE(&queue->tx))
1571 if (req_prod - rsp_prod > RING_SIZE(&queue->rx))
H A Dinterface.c638 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl))
/linux-master/drivers/xen/
H A Dpvcalls-front.c127 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1);
/linux-master/drivers/net/
H A Dxen-netfront.c419 if (id >= RING_SIZE(&queue->tx)) {

Completed in 209 milliseconds