Searched refs:rvring (Results 1 – 2 of 2) sorted by relevance
67 struct rproc_vring *rvring = vq->priv; in rproc_virtio_notify() local68 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()69 int notifyid = rvring->notifyid; in rproc_virtio_notify()91 struct rproc_vring *rvring; in rproc_vq_interrupt() local95 rvring = idr_find(&rproc->notifyids, notifyid); in rproc_vq_interrupt()96 if (!rvring || !rvring->vq) in rproc_vq_interrupt()99 return vring_interrupt(0, rvring->vq); in rproc_vq_interrupt()112 struct rproc_vring *rvring; in rp_find_vq() local131 rvring = &rvdev->vring[id]; in rp_find_vq()133 num = rvring->num; in rp_find_vq()[all …]
330 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local337 size = PAGE_ALIGN(vring_size(rvring->num, rvring->align)); in rproc_alloc_vring()368 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()379 rvring->notifyid = notifyid; in rproc_alloc_vring()392 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local404 rvring->num = vring->num; in rproc_parse_vring()405 rvring->align = vring->align; in rproc_parse_vring()406 rvring->rvdev = rvdev; in rproc_parse_vring()411 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument413 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()[all …]