Lines Matching defs:to
7 * This file is subject to the terms and conditions of the GNU General Public
72 * @to: P1 address
73 * @address: U0 address to be mapped
75 void clear_user_page(void *to, unsigned long address, struct page *pg)
77 struct page *page = virt_to_page(to);
80 if (((address ^ (unsigned long)to) & CACHE_ALIAS) == 0) {
81 clear_page(to);
82 __flush_wback_region(to, PAGE_SIZE);
84 __flush_purge_virtual_region(to,
87 clear_page(to);
88 __flush_wback_region(to, PAGE_SIZE);
94 * @to: P1 address
96 * @address: U0 address to be mapped
98 void copy_user_page(void *to, void *from, unsigned long address, struct page *pg)
100 struct page *page = virt_to_page(to);
104 if (((address ^ (unsigned long)to) & CACHE_ALIAS) == 0) {
105 copy_page(to, from);
106 __flush_wback_region(to, PAGE_SIZE);
108 __flush_purge_virtual_region(to,
111 copy_page(to, from);
112 __flush_wback_region(to, PAGE_SIZE);