Home
last modified time | relevance | path

Searched refs:VNIC_RQ_BUF_BLK_ENTRIES (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/scsi/fnic/
Dvnic_rq.c31 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES; j++) { in vnic_rq_alloc_bufs()
32 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES + j; in vnic_rq_alloc_bufs()
38 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES) { in vnic_rq_alloc_bufs()
118 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init()
119 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init()
174 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean()
175 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean()
Dvnic_rq.h63 #define VNIC_RQ_BUF_BLK_ENTRIES 64 macro
65 (VNIC_RQ_BUF_BLK_ENTRIES * sizeof(struct vnic_rq_buf))
67 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES)
/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Dvnic_rq.c32 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES(count); j++) { in vnic_rq_alloc_bufs()
33 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; in vnic_rq_alloc_bufs()
39 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES(count)) { in vnic_rq_alloc_bufs()
121 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start()
122 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start()
195 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean()
196 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean()
Dvnic_rq.h46 #define VNIC_RQ_BUF_BLK_ENTRIES(entries) \ macro
50 (VNIC_RQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_rq_buf))
52 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES(entries))