Home
last modified time | relevance | path

Searched refs:VNIC_WQ_BUF_DFLT_BLK_ENTRIES (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/snic/
Dvnic_wq.h62 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro
64 ((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)
Dvnic_wq.c60 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()
/Linux-v5.10/drivers/net/ethernet/cisco/enic/
Dvnic_wq.h70 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro
72 ((unsigned int)((entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \
73 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES))