Lines Matching defs:pages
50 * to match with the sizes often found in IOMMUs. Using order 4 pages instead
51 * of order 0 pages can significantly improve the performance of many IOMMUs
221 struct page **pages = vmalloc(sizeof(struct page *) * npages);
222 struct page **tmp = pages;
226 if (!pages)
230 WARN_ON(tmp - pages >= npages);
234 vaddr = vmap(pages, npages, VM_MAP, PAGE_KERNEL);
235 vfree(pages);
346 struct list_head pages;
359 INIT_LIST_HEAD(&pages);
375 list_add_tail(&page->lru, &pages);
386 list_for_each_entry_safe(page, tmp_page, &pages, lru) {
413 list_for_each_entry_safe(page, tmp_page, &pages, lru)