Searched refs:io_pagetable (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/iommu/iommufd/ |
| H A D | iommufd_private.h | 84 struct io_pagetable { struct 100 void iopt_init_table(struct io_pagetable *iopt); argument 101 void iopt_destroy_table(struct io_pagetable *iopt); 102 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, 108 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, 112 int iopt_map_file_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, 116 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, 119 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, 121 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped); 123 int iopt_read_and_clear_dirty_data(struct io_pagetable *iopt, [all …]
|
| H A D | io_pagetable.c | 34 struct io_pagetable *iopt, in iopt_area_contig_init() 120 static int iopt_alloc_iova(struct io_pagetable *iopt, unsigned long *iova, in iopt_alloc_iova() 183 static int iopt_check_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_check_iova() 209 static int iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, in iopt_insert_area() 256 static int iopt_alloc_area_pages(struct io_pagetable *iopt, in iopt_alloc_area_pages() 374 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages() 408 static int iopt_map_common(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_common() 455 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_user_pages() 482 int iopt_map_file_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_file_pages() 531 struct io_pagetable *iopt; [all …]
|
| H A D | io_pagetable.h | 43 struct io_pagetable *iopt; 131 struct io_pagetable *iopt, unsigned long start, \ 165 struct io_pagetable *iopt,
|
| H A D | device.c | 1300 void iommufd_access_notify_unmap(struct io_pagetable *iopt, unsigned long iova, in iommufd_access_notify_unmap() 1337 struct io_pagetable *iopt; in iommufd_access_unpin_pages() 1414 struct io_pagetable *iopt; in iommufd_access_pin_pages() 1504 struct io_pagetable *iopt; in iommufd_access_rw()
|
| H A D | vfio_compat.c | 353 struct io_pagetable *iopt = &ioas->iopt; in iommufd_get_pagesizes()
|
| H A D | ioas.c | 152 struct io_pagetable *iopt; in iommufd_ioas_allow_iovas()
|
| H A D | selftest.c | 59 static unsigned long __iommufd_test_syz_conv_iova(struct io_pagetable *iopt, in __iommufd_test_syz_conv_iova()
|
| H A D | pages.c | 1994 struct io_pagetable *iopt = area->iopt; in iopt_area_unfill_domains()
|
| /linux/Documentation/userspace-api/ |
| H A D | iommufd.rst | 306 - struct io_pagetable holding the IOVA map 322 An io_pagetable is composed of iopt_areas pointing at iopt_pages, along with a 325 Multiple io_pagetable-s, through their iopt_area-s, can share a single 357 container IOCTLs by mapping them into io_pagetable operations. Doing so allows
|