Lines Matching defs:page
26 * Copy the user page. No aliasing to deal with so we can just
29 static void v6_copy_user_highpage_nonaliasing(struct page *to,
30 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
42 * Clear the user page. No aliasing to deal with so we can just
43 * attack the kernel's existing mapping of this page.
45 static void v6_clear_user_highpage_nonaliasing(struct page *page, unsigned long vaddr)
47 void *kaddr = kmap_atomic(page);
53 * Discard data in the kernel mapping for the new page.
66 * Copy the page, taking account of the cache colour.
68 static void v6_copy_user_highpage_aliasing(struct page *to,
69 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
81 * Now copy the page using the same cache colour as the
98 * Clear the user page. We need to deal with the aliasing issues,
99 * so remap the kernel page into the same cache colour as the user
100 * page.
102 static void v6_clear_user_highpage_aliasing(struct page *page, unsigned long vaddr)
107 discard_old_kernel_data(page_address(page));
110 * Now clear the page using the same cache colour as
115 set_top_pte(to, mk_pte(page, PAGE_KERNEL));