Lines Matching defs:pages
151 struct page **pages = NULL;
177 * The array of pages returned by get_user_pages_fast() covers only
213 * The advantage of this approach is that the number of pages is
226 * 'pages' is an array of struct page pointers that's initialized by
229 pages = kcalloc(num_pages, sizeof(struct page *), GFP_KERNEL);
230 if (!pages) {
250 num_pages, param.source != -1 ? FOLL_WRITE : 0, pages);
263 sg_list[0].source = page_to_phys(pages[0]) + lb_offset;
267 sg_list[0].target = page_to_phys(pages[0]) + lb_offset;
277 sg_list[i].source = page_to_phys(pages[i]);
282 sg_list[i].target = page_to_phys(pages[i]);
294 if (pages && (num_pinned > 0)) {
296 put_page(pages[i]);
301 kfree(pages);