Searched refs:VNIC_RQ_BUF_BLK_ENTRIES (Results 1 – 4 of 4) sorted by relevance
31 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES; j++) { in vnic_rq_alloc_bufs()32 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES + j; in vnic_rq_alloc_bufs()38 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES) { in vnic_rq_alloc_bufs()118 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init()119 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init()174 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean()175 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean()
63 #define VNIC_RQ_BUF_BLK_ENTRIES 64 macro65 (VNIC_RQ_BUF_BLK_ENTRIES * sizeof(struct vnic_rq_buf))67 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES)
32 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES(count); j++) { in vnic_rq_alloc_bufs()33 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; in vnic_rq_alloc_bufs()39 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES(count)) { in vnic_rq_alloc_bufs()121 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start()122 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start()195 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean()196 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean()
46 #define VNIC_RQ_BUF_BLK_ENTRIES(entries) \ macro50 (VNIC_RQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_rq_buf))52 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES(entries))