Home
last modified time | relevance | path

Searched refs:iopt_pages (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/iommu/iommufd/
H A Dio_pagetable.h43 struct iopt_pages *pages;
62 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages);
63 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages);
66 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages,
195 struct iopt_pages { struct
222 struct iopt_pages *iopt_alloc_user_pages(void __user *uptr, argument
227 static inline void iopt_put_pages(struct iopt_pages *pages) in iopt_put_pages()
234 int iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start,
236 void iopt_pages_unfill_xarray(struct iopt_pages *pages, unsigned long start,
244 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte,
[all …]
H A Dpages.c766 struct iopt_pages *pages) in pfn_reader_user_init()
785 struct iopt_pages *pages) in pfn_reader_user_destroy()
854 struct iopt_pages *pages, in pfn_reader_user_pin()
1035 struct iopt_pages *pages) in pfn_reader_user_update_pinned()
1068 struct iopt_pages *pages;
1293 struct iopt_pages *pages; in iopt_alloc_pages()
1328 struct iopt_pages *pages; in iopt_alloc_user_pages()
1348 struct iopt_pages *pages; in iopt_alloc_file_pages()
1366 struct iopt_pages *pages = container_of(kref, struct iopt_pages, kref); in iopt_release_pages()
1495 struct iopt_pages *pages, in iopt_area_unfill_partial_domain()
[all …]
H A Dio_pagetable.c24 struct iopt_pages *pages;
199 struct iopt_pages *pages, unsigned long iova, in iopt_insert_area()
395 struct iopt_pages *pages, unsigned long *iova, in iopt_map_common()
446 struct iopt_pages *pages; in iopt_map_user_pages()
473 struct iopt_pages *pages; in iopt_map_file_pages()
714 struct iopt_pages *pages; in iopt_unmap_iova_range()
942 struct iopt_pages *pages = area->pages; in iopt_unfill_domain()
961 struct iopt_pages *pages = area->pages; in iopt_unfill_domain()
995 struct iopt_pages *pages = area->pages; in iopt_fill_domain()
1020 struct iopt_pages *pages = area->pages; in iopt_fill_domain()
[all …]
H A Dioas.c442 static bool need_charge_update(struct iopt_pages *pages) in need_charge_update()
462 struct iopt_pages tmp = { in charge_current()
495 static void change_mm(struct iopt_pages *pages) in change_mm()
526 struct iopt_pages *pages; in iommufd_ioas_change_process()
/linux-6.15/Documentation/userspace-api/
H A Diommufd.rst296 - struct iopt_pages representing the storage of PFNs
301 Each iopt_pages represents a logical linear array of full PFNs. The PFNs are
310 An io_pagetable is composed of iopt_areas pointing at iopt_pages, along with a
314 iopt_pages which avoids multi-pinning and double accounting of page