Searched refs:rvring (Results 1 – 3 of 3) sorted by relevance
29 struct rproc_vring *rvring = vq->priv; in rproc_virtio_notify() local30 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()31 int notifyid = rvring->notifyid; in rproc_virtio_notify()53 struct rproc_vring *rvring; in rproc_vq_interrupt() local57 rvring = idr_find(&rproc->notifyids, notifyid); in rproc_vq_interrupt()58 if (!rvring || !rvring->vq) in rproc_vq_interrupt()61 return vring_interrupt(0, rvring->vq); in rproc_vq_interrupt()74 struct rproc_vring *rvring; in rp_find_vq() local93 rvring = &rvdev->vring[id]; in rp_find_vq()95 len = rvring->len; in rp_find_vq()[all …]
325 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local332 size = PAGE_ALIGN(vring_size(rvring->len, rvring->align)); in rproc_alloc_vring()363 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()374 rvring->notifyid = notifyid; in rproc_alloc_vring()387 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local399 rvring->len = vring->num; in rproc_parse_vring()400 rvring->align = vring->align; in rproc_parse_vring()401 rvring->rvdev = rvdev; in rproc_parse_vring()406 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument408 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()[all …]
84 void rproc_free_vring(struct rproc_vring *rvring);