Lines Matching refs:page

73 static void flush_aliases(struct address_space *mapping, struct page *page)  in flush_aliases()  argument
79 pgoff = page->index; in flush_aliases()
92 page_to_pfn(page)); in flush_aliases()
140 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page() argument
142 unsigned long start = (unsigned long) page_address(page); in flush_icache_page()
160 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page() argument
167 unsigned long start = (unsigned long)page_address(page); in __flush_dcache_page()
172 void flush_dcache_page(struct page *page) in flush_dcache_page() argument
180 if (page == ZERO_PAGE(0)) in flush_dcache_page()
183 mapping = page_mapping(page); in flush_dcache_page()
187 clear_bit(PG_dcache_clean, &page->flags); in flush_dcache_page()
189 __flush_dcache_page(mapping, page); in flush_dcache_page()
191 unsigned long start = (unsigned long)page_address(page); in flush_dcache_page()
192 flush_aliases(mapping, page); in flush_dcache_page()
195 set_bit(PG_dcache_clean, &page->flags); in flush_dcache_page()
204 struct page *page; in update_mmu_cache() local
214 page = pfn_to_page(pfn); in update_mmu_cache()
215 if (page == ZERO_PAGE(0)) in update_mmu_cache()
218 mapping = page_mapping(page); in update_mmu_cache()
219 if (!test_and_set_bit(PG_dcache_clean, &page->flags)) in update_mmu_cache()
220 __flush_dcache_page(mapping, page); in update_mmu_cache()
224 flush_aliases(mapping, page); in update_mmu_cache()
226 flush_icache_page(vma, page); in update_mmu_cache()
231 struct page *to) in copy_user_page()
240 void clear_user_page(void *addr, unsigned long vaddr, struct page *page) in clear_user_page() argument
249 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page() argument
253 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_from_user_page()
260 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page() argument
264 flush_cache_page(vma, user_vaddr, page_to_pfn(page)); in copy_to_user_page()