Home
last modified time | relevance | path

Searched refs:VNIC_WQ_BUF_BLK_ENTRIES (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/
A Dvnic_wq.c32 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()
A Dvnic_wq.h58 #define VNIC_WQ_BUF_BLK_ENTRIES(entries) \ macro
62 (VNIC_WQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_wq_buf))
64 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES(entries))
/linux-6.3-rc2/drivers/scsi/fnic/
A Dvnic_wq.c51 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()
A Dvnic_wq.h68 #define VNIC_WQ_BUF_BLK_ENTRIES 64 macro
70 (VNIC_WQ_BUF_BLK_ENTRIES * sizeof(struct vnic_wq_buf))
72 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES)
/linux-6.3-rc2/drivers/scsi/snic/
A Dvnic_wq.c159 &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()
A Dvnic_wq.h49 #define VNIC_WQ_BUF_BLK_ENTRIES(entries) \ macro

Completed in 128 milliseconds