search for: vring_get_pag

Displaying 2 results from an estimated 2 matches for "vring_get_pag".

Did you mean: vring_get_pages
2014 Dec 03
1
[PATCH RFC 1/2] virtio_pci: free up vq->priv
...7,7 @@ out_info: static void vp_del_vq(struct virtqueue *vq) { struct virtio_pci_device *vp_dev = to_vp_device(vq->vdev); - struct virtio_pci_vq_info *info = vq->priv; + struct virtio_pci_vq_info *info = vp_dev->vqs[vq->index]; unsigned int num = vring_get_num(vq); void *queue = vring_get_pages(vq); unsigned long flags, size; @@ -501,7 +504,7 @@ static void vp_del_vqs(struct virtio_device *vdev) struct virtio_pci_vq_info *info; list_for_each_entry_safe(vq, n, &vdev->vqs, list) { - info = vq->priv; + info = vp_dev->vqs[vq->index]; if (vp_dev->per_vq_vector...
2014 Dec 03
1
[PATCH RFC 1/2] virtio_pci: free up vq->priv
...7,7 @@ out_info: static void vp_del_vq(struct virtqueue *vq) { struct virtio_pci_device *vp_dev = to_vp_device(vq->vdev); - struct virtio_pci_vq_info *info = vq->priv; + struct virtio_pci_vq_info *info = vp_dev->vqs[vq->index]; unsigned int num = vring_get_num(vq); void *queue = vring_get_pages(vq); unsigned long flags, size; @@ -501,7 +504,7 @@ static void vp_del_vqs(struct virtio_device *vdev) struct virtio_pci_vq_info *info; list_for_each_entry_safe(vq, n, &vdev->vqs, list) { - info = vq->priv; + info = vp_dev->vqs[vq->index]; if (vp_dev->per_vq_vector...