Lines Matching refs:qsz
143 for (i = 0; i < nic->dev.vq[1].qsz - 1; i++) { in InitTxFreelist()
148 nic->tFreeNum = nic->dev.vq[1].qsz; in InitTxFreelist()
180 for (i = 0; i < q->qsz; i++) { in PopulateRxBuffer()
194 uint16_t qsz[VIRTQ_NUM]; in ConfigQueue() local
197 qsz[0] = VIRTQ_RX_QSZ; in ConfigQueue()
198 qsz[1] = VIRTQ_TX_QSZ; in ConfigQueue()
199 if (VirtmmioConfigQueue(&nic->dev, base, qsz, VIRTQ_NUM) == 0) { in ConfigQueue()
252 trans->avail->ring[trans->avail->index % trans->qsz] = head; in LowLevelOutput()
303 e = &q->used->ring[q->last % q->qsz]; in VirtnetRxHandle()
314 q->avail->ring[(q->avail->index + add++) % q->qsz] = e->id; in VirtnetRxHandle()
334 e = &q->used->ring[q->last % q->qsz]; in VirtnetTxHandle()
497 nic->dev.vq[0].avail->index = nic->dev.vq[0].qsz; in VirtNetDeviceInit()