Searched refs:VNIC_WQ_BUF_DFLT_BLK_ENTRIES (Results 1 – 3 of 3) sorted by relevance
48 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro50 ((unsigned int)(entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \51 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES)53 (VNIC_WQ_BUF_DFLT_BLK_ENTRIES * sizeof(struct vnic_wq_buf))55 DIV_ROUND_UP(entries, VNIC_WQ_BUF_DFLT_BLK_ENTRIES)57 DIV_ROUND_UP(entries, VNIC_WQ_BUF_DFLT_BLK_ENTRIES)
46 for (j = 0; j < VNIC_WQ_BUF_DFLT_BLK_ENTRIES; j++) { in vnic_wq_alloc_bufs()47 buf->index = i * VNIC_WQ_BUF_DFLT_BLK_ENTRIES + j; in vnic_wq_alloc_bufs()53 } else if (j + 1 == VNIC_WQ_BUF_DFLT_BLK_ENTRIES) { in vnic_wq_alloc_bufs()
57 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro59 ((unsigned int)((entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \60 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES))