Lines Matching refs:qsz
185 q->avail->ring[q->avail->index % q->qsz] = 0; in NotifyAndWaitResponse()
250 uint16_t head = q->last % q->qsz; /* `last` record next writable desc entry for request */ in RequestNoResponse()
262 q->avail->ring[q->avail->index % q->qsz] = head; in RequestNoResponse()
441 uint16_t qsz; in PopulateVirtQ() local
445 qsz = VIRTQ_CURSOR_QSZ; in PopulateVirtQ()
447 qsz = VIRTQ_CONTROL_QSZ; in PopulateVirtQ()
451 for (i = 0; i < qsz; i += NORMAL_CMD_ENTRIES) { in PopulateVirtQ()
510 uint16_t qsz[VIRTQ_NUM]; in VirtgpuInitDev() local
536 qsz[0] = VIRTQ_CONTROL_QSZ; in VirtgpuInitDev()
537 qsz[1] = VIRTQ_CURSOR_QSZ; in VirtgpuInitDev()
538 if (VirtmmioConfigQueue(&gpu->dev, base, qsz, VIRTQ_NUM) == 0) { in VirtgpuInitDev()