Home
last modified time | relevance | path

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

/drivers/iommu/iommufd/
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,
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 …]
Dpages.c163 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()
822 static void decr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in decr_user_locked_vm()
[all …]
Dio_pagetable.c23 struct iopt_pages *pages;
190 struct iopt_pages *pages, unsigned long iova, in iopt_insert_area()
487 struct iopt_pages *pages; in iopt_unmap_iova_range()
715 struct iopt_pages *pages = area->pages; in iopt_unfill_domain()
734 struct iopt_pages *pages = area->pages; in iopt_unfill_domain()
768 struct iopt_pages *pages = area->pages; in iopt_fill_domain()
793 struct iopt_pages *pages = area->pages; in iopt_fill_domain()
1003 struct iopt_pages *pages = area->pages; in iopt_area_split()