Home
last modified time | relevance | path

Searched refs:vq_num (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/io/virtio/
H A Dvirtio.c381 int vq_size = vq->vq_num; in virtio_init_vq()
514 vq->vq_num = vq_size; in virtio_alloc_vq()
570 for (i = 0; i < vq->vq_num; i++) { in virtio_free_vq()
576 kmem_free(vq->vq_entries, sizeof (struct vq_entry) * vq->vq_num); in virtio_free_vq()
767 vq->vq_avail->ring[idx % vq->vq_num] = head->qe_index; in virtio_push_chain()
796 usedidx %= vq->vq_num; in virtio_pull_chain()
H A Dvirtiovar.h99 unsigned int vq_num; /* queue size (# of entries) */ member
/titanic_44/usr/src/uts/common/io/vioblk/
H A Dvioblk.c440 drive->d_qsize = sc->sc_vq->vq_num; in vioblk_driveinfo()
736 qsize = sc->sc_vq->vq_num; in vioblk_free_reqs()
757 qsize = sc->sc_vq->vq_num; in vioblk_alloc_reqs()