Searched refs:VNIC_RQ_BUF_BLK_ENTRIES (Results 1 – 4 of 4) sorted by relevance
46 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES; j++) { in vnic_rq_alloc_bufs()47 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES + j; in vnic_rq_alloc_bufs()53 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES) { in vnic_rq_alloc_bufs()133 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init()134 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init()189 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean()190 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean()
75 #define VNIC_RQ_BUF_BLK_ENTRIES 64 macro77 (VNIC_RQ_BUF_BLK_ENTRIES * sizeof(struct vnic_rq_buf))79 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES)
45 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES(count); j++) { in vnic_rq_alloc_bufs()46 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; in vnic_rq_alloc_bufs()52 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES(count)) { in vnic_rq_alloc_bufs()134 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start()135 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start()211 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean()212 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean()
59 #define VNIC_RQ_BUF_BLK_ENTRIES(entries) \ macro63 (VNIC_RQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_rq_buf))65 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES(entries))