Searched refs:rvring (Results 1 – 3 of 3) 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 …]
329 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local336 size = PAGE_ALIGN(vring_size(rvring->num, rvring->align)); in rproc_alloc_vring()367 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()378 rvring->notifyid = notifyid; in rproc_alloc_vring()391 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local403 rvring->num = vring->num; in rproc_parse_vring()404 rvring->align = vring->align; in rproc_parse_vring()405 rvring->rvdev = rvdev; in rproc_parse_vring()410 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument412 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()[all …]
107 void rproc_free_vring(struct rproc_vring *rvring);