Lines Matching defs:pages
164 static void iopt_pages_add_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_add_npinned()
173 static void iopt_pages_sub_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_sub_npinned()
182 static void iopt_pages_err_unpin(struct iopt_pages *pages, in iopt_pages_err_unpin()
250 static struct iopt_area *iopt_pages_find_domain_area(struct iopt_pages *pages, in iopt_pages_find_domain_area()
591 unsigned long last_index, struct page **pages) in pages_to_xarray()
630 static void batch_from_pages(struct pfn_batch *batch, struct page **pages, in batch_from_pages()
675 static void batch_unpin(struct pfn_batch *batch, struct iopt_pages *pages, in batch_unpin()
766 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()
933 static int incr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in incr_user_locked_vm()
952 static void decr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in decr_user_locked_vm()
960 static int update_mm_locked_vm(struct iopt_pages *pages, unsigned long npages, in update_mm_locked_vm()
988 int iopt_pages_update_pinned(struct iopt_pages *pages, unsigned long npages, in iopt_pages_update_pinned()
1017 static void update_unpinned(struct iopt_pages *pages) in update_unpinned()
1035 struct iopt_pages *pages) in pfn_reader_user_update_pinned()
1068 struct iopt_pages *pages; member
1092 struct iopt_pages *pages = pfns->pages; in pfn_reader_unpin() local
1201 static int pfn_reader_init(struct pfn_reader *pfns, struct iopt_pages *pages, in pfn_reader_init()
1232 struct iopt_pages *pages = pfns->pages; in pfn_reader_release_pins() local
1261 struct iopt_pages *pages = pfns->pages; in pfn_reader_destroy() local
1269 static int pfn_reader_first(struct pfn_reader *pfns, struct iopt_pages *pages, in pfn_reader_first()
1293 struct iopt_pages *pages; in iopt_alloc_pages() local
1328 struct iopt_pages *pages; in iopt_alloc_user_pages() local
1348 struct iopt_pages *pages; in iopt_alloc_file_pages() local
1366 struct iopt_pages *pages = container_of(kref, struct iopt_pages, kref); in iopt_release_pages() local
1383 struct iopt_pages *pages, struct iommu_domain *domain, in iopt_area_unpin_domain()
1443 struct iopt_pages *pages, in __iopt_area_unfill_domain()
1495 struct iopt_pages *pages, in iopt_area_unfill_partial_domain()
1527 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages, in iopt_area_unfill_domain()
1593 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages) in iopt_area_fill_domains()
1677 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages) in iopt_area_unfill_domains()
1705 struct iopt_pages *pages, in iopt_pages_unpin_xarray()
1727 void iopt_pages_unfill_xarray(struct iopt_pages *pages, in iopt_pages_unfill_xarray()
1775 void iopt_pages_fill_from_xarray(struct iopt_pages *pages, in iopt_pages_fill_from_xarray()
1795 static int iopt_pages_fill_from_domain(struct iopt_pages *pages, in iopt_pages_fill_from_domain()
1817 static int iopt_pages_fill(struct iopt_pages *pages, in iopt_pages_fill()
1856 int iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start_index, in iopt_pages_fill_xarray()
1928 static int iopt_pages_rw_slow(struct iopt_pages *pages, in iopt_pages_rw_slow()
1969 static int iopt_pages_rw_page(struct iopt_pages *pages, unsigned long index, in iopt_pages_rw_page()
2020 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte, in iopt_pages_rw_access()
2084 iopt_pages_get_exact_access(struct iopt_pages *pages, unsigned long index, in iopt_pages_get_exact_access()
2117 struct iopt_pages *pages = area->pages; in iopt_area_add_access() local
2172 struct iopt_pages *pages = area->pages; in iopt_area_remove_access() local