Home
last modified time | relevance | path

Searched refs:vring_dma_dev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_ring.c360 static struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev() function
390 *addr = dma_map_page(vring_dma_dev(vq), in vring_map_one_sg()
394 if (dma_mapping_error(vring_dma_dev(vq), *addr)) in vring_map_one_sg()
407 return dma_map_single(vring_dma_dev(vq), in vring_map_single()
417 return dma_mapping_error(vring_dma_dev(vq), addr); in vring_mapping_error()
453 dma_unmap_page(vring_dma_dev(vq), in vring_unmap_one_split_indirect()
472 dma_unmap_single(vring_dma_dev(vq), in vring_unmap_one_split()
481 dma_unmap_page(vring_dma_dev(vq), in vring_unmap_one_split()
1185 vring_dma_dev(vq)); in virtqueue_resize_split()
1203 vring_free_split(&vring_split, vdev, vring_dma_dev(vq)); in virtqueue_resize_split()
[all …]