Searched refs:iopt_pages (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/iommu/iommufd/ |
D | io_pagetable.h | 43 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, 189 struct iopt_pages { struct 209 struct iopt_pages *iopt_alloc_pages(void __user *uptr, unsigned long length, argument 212 static inline void iopt_put_pages(struct iopt_pages *pages) in iopt_put_pages() 217 void iopt_pages_fill_from_xarray(struct iopt_pages *pages, unsigned long start, 219 int iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start, 221 void iopt_pages_unfill_xarray(struct iopt_pages *pages, unsigned long start, [all …]
|
D | pages.c | 163 static void iopt_pages_add_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_add_npinned() 172 static void iopt_pages_sub_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_sub_npinned() 181 static void iopt_pages_err_unpin(struct iopt_pages *pages, in iopt_pages_err_unpin() 249 static struct iopt_area *iopt_pages_find_domain_area(struct iopt_pages *pages, in iopt_pages_find_domain_area() 625 static void batch_unpin(struct pfn_batch *batch, struct iopt_pages *pages, in batch_unpin() 709 struct iopt_pages *pages) in pfn_reader_user_init() 722 struct iopt_pages *pages) in pfn_reader_user_destroy() 737 struct iopt_pages *pages, in pfn_reader_user_pin() 804 static int incr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in incr_user_locked_vm() 823 static void decr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in decr_user_locked_vm() [all …]
|
D | io_pagetable.c | 24 struct iopt_pages *pages; 199 struct iopt_pages *pages, unsigned long iova, in iopt_insert_area() 667 struct iopt_pages *pages; in iopt_unmap_iova_range() 895 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() 914 struct iopt_pages *pages = area->pages; in iopt_unfill_domain() 948 struct iopt_pages *pages = area->pages; in iopt_fill_domain() 973 struct iopt_pages *pages = area->pages; in iopt_fill_domain() 1183 struct iopt_pages *pages = area->pages; in iopt_area_split()
|
/linux-6.12.1/Documentation/userspace-api/ |
D | iommufd.rst | 147 - struct iopt_pages representing the storage of PFNs 152 Each iopt_pages represents a logical linear array of full PFNs. The PFNs are 161 An io_pagetable is composed of iopt_areas pointing at iopt_pages, along with a 165 iopt_pages which avoids multi-pinning and double accounting of page
|