Lines Matching refs:page
27 * Copy the user page. No aliasing to deal with so we can just
30 static void v6_copy_user_highpage_nonaliasing(struct page *to,
31 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
43 * Clear the user page. No aliasing to deal with so we can just
44 * attack the kernel's existing mapping of this page.
46 static void v6_clear_user_highpage_nonaliasing(struct page *page, unsigned long vaddr)
48 void *kaddr = kmap_atomic(page);
54 * Discard data in the kernel mapping for the new page.
67 * Copy the page, taking account of the cache colour.
69 static void v6_copy_user_highpage_aliasing(struct page *to,
70 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
83 * Now copy the page using the same cache colour as the
100 * Clear the user page. We need to deal with the aliasing issues,
101 * so remap the kernel page into the same cache colour as the user
102 * page.
104 static void v6_clear_user_highpage_aliasing(struct page *page, unsigned long vaddr)
109 discard_old_kernel_data(page_address(page));
112 * Now clear the page using the same cache colour as
117 set_top_pte(to, mk_pte(page, PAGE_KERNEL));