Home
last modified time | relevance | path

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

/linux/drivers/iommu/iommufd/
H A Diommufd_private.h84 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 Dio_pagetable.c34 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 Dio_pagetable.h43 struct io_pagetable *iopt;
131 struct io_pagetable *iopt, unsigned long start, \
165 struct io_pagetable *iopt,
H A Ddevice.c1300 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 Dvfio_compat.c353 struct io_pagetable *iopt = &ioas->iopt; in iommufd_get_pagesizes()
H A Dioas.c152 struct io_pagetable *iopt; in iommufd_ioas_allow_iovas()
H A Dselftest.c59 static unsigned long __iommufd_test_syz_conv_iova(struct io_pagetable *iopt, in __iommufd_test_syz_conv_iova()
H A Dpages.c1994 struct io_pagetable *iopt = area->iopt; in iopt_area_unfill_domains()
/linux/Documentation/userspace-api/
H A Diommufd.rst306 - 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