Lines Matching defs:pages
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()
576 unsigned long last_index, struct page **pages) in pages_to_xarray()
615 static void batch_from_pages(struct pfn_batch *batch, struct page **pages, in batch_from_pages()
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()
830 static int update_mm_locked_vm(struct iopt_pages *pages, unsigned long npages, in update_mm_locked_vm()
857 static int do_update_pinned(struct iopt_pages *pages, unsigned long npages, in do_update_pinned()
886 static void update_unpinned(struct iopt_pages *pages) in update_unpinned()
904 struct iopt_pages *pages) in pfn_reader_user_update_pinned()
937 struct iopt_pages *pages; member
961 struct iopt_pages *pages = pfns->pages; in pfn_reader_unpin() local
1062 static int pfn_reader_init(struct pfn_reader *pfns, struct iopt_pages *pages, in pfn_reader_init()
1093 struct iopt_pages *pages = pfns->pages; in pfn_reader_release_pins() local
1113 struct iopt_pages *pages = pfns->pages; in pfn_reader_destroy() local
1121 static int pfn_reader_first(struct pfn_reader *pfns, struct iopt_pages *pages, in pfn_reader_first()
1144 struct iopt_pages *pages; in iopt_alloc_pages() local
1183 struct iopt_pages *pages = container_of(kref, struct iopt_pages, kref); in iopt_release_pages() local
1198 struct iopt_pages *pages, struct iommu_domain *domain, in iopt_area_unpin_domain()
1258 struct iopt_pages *pages, in __iopt_area_unfill_domain()
1310 struct iopt_pages *pages, in iopt_area_unfill_partial_domain()
1342 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages, in iopt_area_unfill_domain()
1408 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages) in iopt_area_fill_domains()
1492 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages) in iopt_area_unfill_domains()
1520 struct iopt_pages *pages, in iopt_pages_unpin_xarray()
1542 void iopt_pages_unfill_xarray(struct iopt_pages *pages, in iopt_pages_unfill_xarray()
1590 void iopt_pages_fill_from_xarray(struct iopt_pages *pages, in iopt_pages_fill_from_xarray()
1610 static int iopt_pages_fill_from_domain(struct iopt_pages *pages, in iopt_pages_fill_from_domain()
1632 static int iopt_pages_fill_from_mm(struct iopt_pages *pages, in iopt_pages_fill_from_mm()
1671 int iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start_index, in iopt_pages_fill_xarray()
1743 static int iopt_pages_rw_slow(struct iopt_pages *pages, in iopt_pages_rw_slow()
1784 static int iopt_pages_rw_page(struct iopt_pages *pages, unsigned long index, in iopt_pages_rw_page()
1831 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte, in iopt_pages_rw_access()
1886 iopt_pages_get_exact_access(struct iopt_pages *pages, unsigned long index, in iopt_pages_get_exact_access()
1919 struct iopt_pages *pages = area->pages; in iopt_area_add_access() local
1974 struct iopt_pages *pages = area->pages; in iopt_area_remove_access() local