Searched refs:io_pagetable (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | iommufd_private.h | 38 struct io_pagetable { struct 54 void iopt_init_table(struct io_pagetable *iopt); argument 55 void iopt_destroy_table(struct io_pagetable *iopt); 56 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, 62 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, 66 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, 69 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, 71 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped); 73 void iommufd_access_notify_unmap(struct io_pagetable *iopt, unsigned long iova, 75 int iopt_table_add_domain(struct io_pagetable *iopt, [all …]
|
H A D | io_pagetable.c | 31 struct io_pagetable *iopt, in iopt_area_contig_init() 108 static int iopt_alloc_iova(struct io_pagetable *iopt, unsigned long *iova, in iopt_alloc_iova() 171 static int iopt_check_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_check_iova() 197 static int iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, in iopt_insert_area() 244 static int iopt_alloc_area_pages(struct io_pagetable *iopt, in iopt_alloc_area_pages() 352 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages() 405 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_user_pages() 435 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, in iopt_get_pages() 476 static int iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, in iopt_unmap_iova_range() 565 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_unmap_iova() [all …]
|
H A D | io_pagetable.h | 42 struct io_pagetable *iopt; 119 struct io_pagetable *iopt, unsigned long start, \ 153 struct io_pagetable *iopt,
|
H A D | Makefile | 5 io_pagetable.o \
|
H A D | device.c | 878 void iommufd_access_notify_unmap(struct io_pagetable *iopt, unsigned long iova, in iommufd_access_notify_unmap() 913 struct io_pagetable *iopt; in iommufd_access_unpin_pages() 988 struct io_pagetable *iopt; in iommufd_access_pin_pages() 1076 struct io_pagetable *iopt; in iommufd_access_rw()
|
H A D | ioas.c | 148 struct io_pagetable *iopt; in iommufd_ioas_allow_iovas()
|
H A D | vfio_compat.c | 358 struct io_pagetable *iopt = &ioas->iopt; in iommufd_get_pagesizes()
|
H A D | selftest.c | 47 static unsigned long __iommufd_test_syz_conv_iova(struct io_pagetable *iopt, in __iommufd_test_syz_conv_iova()
|
H A D | pages.c | 1494 struct io_pagetable *iopt = area->iopt; in iopt_area_unfill_domains()
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | iommufd.rst | 145 - struct io_pagetable holding the IOVA map 161 An io_pagetable is composed of iopt_areas pointing at iopt_pages, along with a 164 Multiple io_pagetable-s, through their iopt_area-s, can share a single 196 container IOCTLs by mapping them into io_pagetable operations. Doing so allows
|