Home
last modified time | relevance | path

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

/drivers/scsi/fnic/
Dvnic_rq.c46 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES; j++) { in vnic_rq_alloc_bufs()
47 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES + j; in vnic_rq_alloc_bufs()
53 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES) { in vnic_rq_alloc_bufs()
133 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_init()
134 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_init()
189 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES] in vnic_rq_clean()
190 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES]; in vnic_rq_clean()
Dvnic_rq.h75 #define VNIC_RQ_BUF_BLK_ENTRIES 64 macro
77 (VNIC_RQ_BUF_BLK_ENTRIES * sizeof(struct vnic_rq_buf))
79 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES)
/drivers/net/ethernet/cisco/enic/
Dvnic_rq.c45 for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES(count); j++) { in vnic_rq_alloc_bufs()
46 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; in vnic_rq_alloc_bufs()
52 } else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES(count)) { in vnic_rq_alloc_bufs()
134 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_init_start()
135 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_init_start()
211 &rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)] in vnic_rq_clean()
212 [fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)]; in vnic_rq_clean()
Dvnic_rq.h59 #define VNIC_RQ_BUF_BLK_ENTRIES(entries) \ macro
63 (VNIC_RQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_rq_buf))
65 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES(entries))