Searched refs:RING_SIZE (Results 1 – 7 of 7) sorted by relevance
65 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument66 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
35 #define RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS) macro
959 zatm_vcc->ring = kzalloc(RING_SIZE,GFP_KERNEL); in open_tx_first()
1567 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings()1582 if (req_prod - rsp_prod > RING_SIZE(&queue->rx)) in xenvif_map_frontend_data_rings()
635 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
127 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); in get_request()
420 if (id >= RING_SIZE(&queue->tx)) { in xennet_tx_buf_gc()