Home
last modified time | relevance | path

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

/linux/include/xen/interface/io/
A Dring.h159 #define RING_SIZE(_r) \ macro
164 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
178 unsigned int rsp = RING_SIZE(_r) - \
185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
188 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
209 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
213 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
217 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
/linux/drivers/crypto/qat/qat_common/
A Dadf_transport_access_macros.h48 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument
49 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
/linux/tools/testing/selftests/bpf/progs/
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; in get_packet_dst()
221 __u32 key = RING_SIZE * vip_info->vip_num + hash; in get_packet_dst()
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; in get_packet_dst()
/linux/drivers/atm/
A Dzatm.h35 #define RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS) macro
A Dzatm.c959 zatm_vcc->ring = kzalloc(RING_SIZE,GFP_KERNEL); in open_tx_first()
/linux/drivers/net/xen-netback/
A Dnetback.c1491 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings()
1506 if (req_prod - rsp_prod > RING_SIZE(&queue->rx)) in xenvif_map_frontend_data_rings()
A Dinterface.c652 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
/linux/Documentation/networking/
A Daf_xdp.rst512 *item = ring->desc[*ring->consumer & (RING_SIZE - 1)];
519 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
524 ring->desc[*ring->producer & (RING_SIZE - 1)] = *item;
/linux/drivers/xen/
A Dpvcalls-front.c127 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); in get_request()
/linux/drivers/net/
A Dxen-netfront.c412 if (id >= RING_SIZE(&queue->tx)) { in xennet_tx_buf_gc()

Completed in 31 milliseconds