Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/snic/
Dvnic_wq.h48 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro
50 ((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)
Dvnic_wq.c46 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()
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Dvnic_wq.h57 #define VNIC_WQ_BUF_DFLT_BLK_ENTRIES 64 macro
59 ((unsigned int)((entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \
60 VNIC_WQ_BUF_MIN_BLK_ENTRIES : VNIC_WQ_BUF_DFLT_BLK_ENTRIES))