Home
last modified time | relevance | path

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

/drivers/vdpa/vdpa_user/
Diova_domain.h27 struct vduse_iova_domain { struct
39 int vduse_domain_set_map(struct vduse_iova_domain *domain, argument
42 void vduse_domain_clear_map(struct vduse_iova_domain *domain,
45 dma_addr_t vduse_domain_map_page(struct vduse_iova_domain *domain,
50 void vduse_domain_unmap_page(struct vduse_iova_domain *domain,
54 void *vduse_domain_alloc_coherent(struct vduse_iova_domain *domain,
58 void vduse_domain_free_coherent(struct vduse_iova_domain *domain, size_t size,
62 void vduse_domain_reset_bounce_map(struct vduse_iova_domain *domain);
64 void vduse_domain_destroy(struct vduse_iova_domain *domain);
66 struct vduse_iova_domain *vduse_domain_create(unsigned long iova_limit,
Diova_domain.c20 static int vduse_iotlb_add_range(struct vduse_iova_domain *domain, in vduse_iotlb_add_range()
45 static void vduse_iotlb_del_range(struct vduse_iova_domain *domain, in vduse_iotlb_del_range()
59 int vduse_domain_set_map(struct vduse_iova_domain *domain, in vduse_domain_set_map()
89 void vduse_domain_clear_map(struct vduse_iova_domain *domain, in vduse_domain_clear_map()
103 static int vduse_domain_map_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_map_bounce_page()
123 static void vduse_domain_unmap_bounce_page(struct vduse_iova_domain *domain, in vduse_domain_unmap_bounce_page()
161 static void vduse_domain_bounce(struct vduse_iova_domain *domain, in vduse_domain_bounce()
190 vduse_domain_get_coherent_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_coherent_page()
211 vduse_domain_get_bounce_page(struct vduse_iova_domain *domain, u64 iova) in vduse_domain_get_bounce_page()
230 vduse_domain_free_bounce_pages(struct vduse_iova_domain *domain) in vduse_domain_free_bounce_pages()
[all …]
Dvduse_dev.c71 struct vduse_iova_domain *domain;
408 struct vduse_iova_domain *domain = dev->domain; in vduse_dev_reset()
752 struct vduse_iova_domain *domain = vdev->domain; in vduse_dev_map_page()
762 struct vduse_iova_domain *domain = vdev->domain; in vduse_dev_unmap_page()
772 struct vduse_iova_domain *domain = vdev->domain; in vduse_dev_alloc_coherent()
792 struct vduse_iova_domain *domain = vdev->domain; in vduse_dev_free_coherent()
800 struct vduse_iova_domain *domain = vdev->domain; in vduse_dev_max_mapping_size()
931 struct vduse_iova_domain *domain = dev->domain; in vduse_dev_ioctl()