Searched refs:VNIC_WQ_BUF_DFLT_BLK_ENTRIES (Results 1 – 3 of 3) sorted by relevance
62 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro64 ((unsigned int)(entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \65 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES)67 (VNIC_WQ_BUF_DFLT_BLK_ENTRIES * sizeof(struct vnic_wq_buf))69 DIV_ROUND_UP(entries, VNIC_WQ_BUF_DFLT_BLK_ENTRIES)71 DIV_ROUND_UP(entries, VNIC_WQ_BUF_DFLT_BLK_ENTRIES)
60 for (j = 0; j < VNIC_WQ_BUF_DFLT_BLK_ENTRIES; j++) { in vnic_wq_alloc_bufs()61 buf->index = i * VNIC_WQ_BUF_DFLT_BLK_ENTRIES + j; in vnic_wq_alloc_bufs()67 } else if (j + 1 == VNIC_WQ_BUF_DFLT_BLK_ENTRIES) { in vnic_wq_alloc_bufs()
70 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro72 ((unsigned int)((entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \73 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES))