Lines Matching full:vring
119 if (id >= ARRAY_SIZE(rvdev->vring)) in rp_find_vq()
131 rvring = &rvdev->vring[id]; in rp_find_vq()
135 /* zero vring */ in rp_find_vq()
139 dev_dbg(dev, "vring%d: va %pK qsz %d notifyid %d\n", in rp_find_vq()
159 /* Update vring in resource table */ in rp_find_vq()
161 rsc->vring[id].da = mem->da; in rp_find_vq()
299 cfg = &rsc->vring[rsc->num_of_vrings]; in rproc_virtio_get()
317 cfg = &rsc->vring[rsc->num_of_vrings]; in rproc_virtio_set()
440 /* Reference the vdev and vring allocations */ in rproc_add_virtio_dev()
539 /* allocate the vring resources */ in rproc_virtio_probe()
567 rproc_free_vring(&rvdev->vring[i]); in rproc_virtio_probe()
579 for (id = 0; id < ARRAY_SIZE(rvdev->vring); id++) { in rproc_virtio_remove()
580 rvring = &rvdev->vring[id]; in rproc_virtio_remove()