Lines Matching refs:pages
1005 static ssize_t iter_xarray_populate_pages(struct page **pages, struct xarray *xa, in iter_xarray_populate_pages() argument
1023 pages[ret] = find_subpage(page, xas.xa_index); in iter_xarray_populate_pages()
1024 get_page(pages[ret]); in iter_xarray_populate_pages()
1033 struct page ***pages, size_t maxsize, in iter_xarray_get_pages() argument
1045 count = want_pages_array(pages, maxsize, offset, maxpages); in iter_xarray_get_pages()
1048 nr = iter_xarray_populate_pages(*pages, i->xarray, index, count); in iter_xarray_get_pages()
1097 struct page ***pages, size_t maxsize, in __iov_iter_get_pages_alloc() argument
1121 n = want_pages_array(pages, maxsize, *start, maxpages); in __iov_iter_get_pages_alloc()
1124 res = get_user_pages_fast(addr, n, gup_flags, *pages); in __iov_iter_get_pages_alloc()
1136 n = want_pages_array(pages, maxsize, *start, maxpages); in __iov_iter_get_pages_alloc()
1139 p = *pages; in __iov_iter_get_pages_alloc()
1153 return iter_xarray_get_pages(i, pages, maxsize, maxpages, start); in __iov_iter_get_pages_alloc()
1157 ssize_t iov_iter_get_pages2(struct iov_iter *i, struct page **pages, in iov_iter_get_pages2() argument
1162 BUG_ON(!pages); in iov_iter_get_pages2()
1164 return __iov_iter_get_pages_alloc(i, &pages, maxsize, maxpages, start); in iov_iter_get_pages2()
1169 struct page ***pages, size_t maxsize, size_t *start) in iov_iter_get_pages_alloc2() argument
1173 *pages = NULL; in iov_iter_get_pages_alloc2()
1175 len = __iov_iter_get_pages_alloc(i, pages, maxsize, ~0U, start); in iov_iter_get_pages_alloc2()
1177 kvfree(*pages); in iov_iter_get_pages_alloc2()
1178 *pages = NULL; in iov_iter_get_pages_alloc2()
1605 struct page ***pages, size_t maxsize, in iov_iter_extract_xarray_pages() argument
1619 maxpages = want_pages_array(pages, maxsize, offset, maxpages); in iov_iter_extract_xarray_pages()
1622 p = *pages; in iov_iter_extract_xarray_pages()
1651 struct page ***pages, size_t maxsize, in iov_iter_extract_bvec_pages() argument
1677 maxpages = want_pages_array(pages, size, offset, maxpages); in iov_iter_extract_bvec_pages()
1680 p = *pages; in iov_iter_extract_bvec_pages()
1694 struct page ***pages, size_t maxsize, in iov_iter_extract_kvec_pages() argument
1720 maxpages = want_pages_array(pages, size, offset, maxpages); in iov_iter_extract_kvec_pages()
1723 p = *pages; in iov_iter_extract_kvec_pages()
1758 struct page ***pages, in iov_iter_extract_user_pages() argument
1779 maxpages = want_pages_array(pages, maxsize, offset, maxpages); in iov_iter_extract_user_pages()
1782 res = pin_user_pages_fast(addr, maxpages, gup_flags, *pages); in iov_iter_extract_user_pages()
1834 struct page ***pages, in iov_iter_extract_pages() argument
1845 return iov_iter_extract_user_pages(i, pages, maxsize, in iov_iter_extract_pages()
1849 return iov_iter_extract_kvec_pages(i, pages, maxsize, in iov_iter_extract_pages()
1853 return iov_iter_extract_bvec_pages(i, pages, maxsize, in iov_iter_extract_pages()
1857 return iov_iter_extract_xarray_pages(i, pages, maxsize, in iov_iter_extract_pages()