Lines Matching defs:page
168 * @prot: The page protection to be used for this memory area.
173 * This function inserts one or more page table entries pointing to the
175 * instructing the caller to retry the page access.
194 struct vm_page *page;
245 * first page.
251 page = ttm->pages[page_offset];
252 if (unlikely(!page && i == 0)) {
254 } else if (unlikely(!page)) {
257 pfn = page_to_pfn(page);
288 struct page *dummy_page = (struct page *)res;
301 struct page *page;
303 /* Allocate new dummy page to map all the VA range in this VMA to it*/
304 page = alloc_page(GFP_KERNEL | __GFP_ZERO);
305 if (!page)
308 /* Set the page to be freed using drmm release action */
309 if (drmm_add_action_or_reset(ddev, ttm_bo_release_dummy_page, page))
312 pfn = page_to_pfn(page);
491 struct vm_page *page;
552 * first page.
560 page = ttm->pages[page_offset];
561 if (unlikely(!page && i == 0)) {
563 } else if (unlikely(!page)) {
566 paddr = VM_PAGE_TO_PHYS(page);
649 unsigned long page = offset >> PAGE_SHIFT;
653 /* Copy a page at a time, that way no extra virtual address
656 offset -= page << PAGE_SHIFT;
663 ret = ttm_bo_kmap(bo, page, 1, &map);
675 page++;