Home
last modified time | relevance | path

Searched refs:iopt_area (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/iommu/iommufd/
Dio_pagetable.h39 struct iopt_area { struct
62 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages); argument
63 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages);
65 int iopt_area_fill_domain(struct iopt_area *area, struct iommu_domain *domain);
66 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages,
68 void iopt_area_unmap_domain(struct iopt_area *area,
71 static inline unsigned long iopt_area_index(struct iopt_area *area) in iopt_area_index()
76 static inline unsigned long iopt_area_last_index(struct iopt_area *area) in iopt_area_last_index()
81 static inline unsigned long iopt_area_iova(struct iopt_area *area) in iopt_area_iova()
86 static inline unsigned long iopt_area_last_iova(struct iopt_area *area) in iopt_area_last_iova()
[all …]
Dio_pagetable.c25 struct iopt_area *area;
31 struct iopt_area *iopt_area_contig_init(struct iopt_area_contig_iter *iter, in iopt_area_contig_init()
50 struct iopt_area *iopt_area_contig_next(struct iopt_area_contig_iter *iter) in iopt_area_contig_next()
198 static int iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, in iopt_insert_area()
233 static struct iopt_area *iopt_area_alloc(void) in iopt_area_alloc()
235 struct iopt_area *area; in iopt_area_alloc()
304 static void iopt_abort_area(struct iopt_area *area) in iopt_abort_area()
447 struct iopt_area *area; in __iommu_read_and_clear_dirty()
559 struct iopt_area *area; in iopt_clear_dirty_data()
612 struct iopt_area *area; in iopt_get_pages()
[all …]
Dpages.c197 static unsigned long iopt_area_index_to_iova(struct iopt_area *area, in iopt_area_index_to_iova()
209 static unsigned long iopt_area_index_to_iova_last(struct iopt_area *area, in iopt_area_index_to_iova_last()
237 static void iopt_area_unmap_domain_range(struct iopt_area *area, in iopt_area_unmap_domain_range()
249 static struct iopt_area *iopt_pages_find_domain_area(struct iopt_pages *pages, in iopt_pages_find_domain_area()
257 return container_of(node, struct iopt_area, pages_node); in iopt_pages_find_domain_area()
377 struct iopt_area *area, unsigned long start_index, in batch_from_domain()
403 struct iopt_area *area, in raw_pages_from_domain()
428 struct iopt_area *area, in batch_from_domain_continue()
476 struct iopt_area *area, unsigned long start_index) in batch_to_domain()
981 struct iopt_area *area; in pfn_reader_fill_span()
[all …]
Ddevice.c966 struct iopt_area *area; in iommufd_access_unpin_pages()
1008 static bool check_area_prot(struct iopt_area *area, unsigned int flags) in check_area_prot()
1041 struct iopt_area *area; in iommufd_access_pin_pages()
1128 struct iopt_area *area; in iommufd_access_rw()
Dselftest.c76 struct iopt_area *area; in __iommufd_test_syz_conv_iova()
/linux-6.12.1/Documentation/userspace-api/
Diommufd.rst146 - struct iopt_area's representing populated portions of IOVA
164 Multiple io_pagetable-s, through their iopt_area-s, can share a single