Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/iommufd/
H A Diommufd_private.h38 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 Dio_pagetable.c31 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 Dio_pagetable.h42 struct io_pagetable *iopt;
119 struct io_pagetable *iopt, unsigned long start, \
153 struct io_pagetable *iopt,
H A DMakefile5 io_pagetable.o \
H A Ddevice.c878 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 Dioas.c148 struct io_pagetable *iopt; in iommufd_ioas_allow_iovas()
H A Dvfio_compat.c358 struct io_pagetable *iopt = &ioas->iopt; in iommufd_get_pagesizes()
H A Dselftest.c47 static unsigned long __iommufd_test_syz_conv_iova(struct io_pagetable *iopt, in __iommufd_test_syz_conv_iova()
H A Dpages.c1494 struct io_pagetable *iopt = area->iopt; in iopt_area_unfill_domains()
/openbmc/linux/Documentation/userspace-api/
H A Diommufd.rst145 - 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