Searched refs:VNIC_WQ_BUF_BLK_ENTRIES (Results 1 – 6 of 6) sorted by relevance
32 for (j = 0; j < VNIC_WQ_BUF_BLK_ENTRIES(count); j++) { in vnic_wq_alloc_bufs()33 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES(count) + j; in vnic_wq_alloc_bufs()40 } else if (j + 1 == VNIC_WQ_BUF_BLK_ENTRIES(count)) { in vnic_wq_alloc_bufs()140 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in enic_wq_init_start()141 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in enic_wq_init_start()
58 #define VNIC_WQ_BUF_BLK_ENTRIES(entries) \ macro62 (VNIC_WQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_wq_buf))64 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES(entries))
51 for (j = 0; j < VNIC_WQ_BUF_BLK_ENTRIES; j++) { in vnic_wq_alloc_bufs()52 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES + j; in vnic_wq_alloc_bufs()58 } else if (j + 1 == VNIC_WQ_BUF_BLK_ENTRIES) { in vnic_wq_alloc_bufs()160 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES] in vnic_wq_init_start()161 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES]; in vnic_wq_init_start()
68 #define VNIC_WQ_BUF_BLK_ENTRIES 64 macro70 (VNIC_WQ_BUF_BLK_ENTRIES * sizeof(struct vnic_wq_buf))72 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES)
159 &wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)] in vnic_wq_init_start()160 [fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)]; in vnic_wq_init_start()
49 #define VNIC_WQ_BUF_BLK_ENTRIES(entries) \ macro
Completed in 128 milliseconds