Lines Matching full:mapping

199 void __flush_dcache_page(struct address_space *mapping, struct page *page)  in __flush_dcache_page()  argument
202 * Writeback any data associated with the kernel mapping of this in __flush_dcache_page()
204 * coherent with the kernels mapping. in __flush_dcache_page()
232 if (mapping && cache_is_vipt_aliasing()) in __flush_dcache_page()
237 static void __flush_dcache_aliases(struct address_space *mapping, struct page *page) in __flush_dcache_aliases() argument
247 * - aliasing VIPT: we only need to find one mapping of this page. in __flush_dcache_aliases()
251 flush_dcache_mmap_lock(mapping); in __flush_dcache_aliases()
252 vma_interval_tree_foreach(mpnt, &mapping->i_mmap, pgoff, pgoff) { in __flush_dcache_aliases()
265 flush_dcache_mmap_unlock(mapping); in __flush_dcache_aliases()
273 struct address_space *mapping; in __sync_icache_dcache() local
284 mapping = page_mapping_file(page); in __sync_icache_dcache()
286 mapping = NULL; in __sync_icache_dcache()
289 __flush_dcache_page(mapping, page); in __sync_icache_dcache()
297 * Ensure cache coherency between kernel mapping and userspace mapping
317 struct address_space *mapping; in flush_dcache_page() local
332 mapping = page_mapping_file(page); in flush_dcache_page()
335 mapping && !page_mapcount(page)) in flush_dcache_page()
338 __flush_dcache_page(mapping, page); in flush_dcache_page()
339 if (mapping && cache_is_vivt()) in flush_dcache_page()
340 __flush_dcache_aliases(mapping, page); in flush_dcache_page()
341 else if (mapping) in flush_dcache_page()
349 * Ensure cache coherency for the kernel mapping of this page. We can
360 struct address_space *mapping; in flush_kernel_dcache_page() local
362 mapping = page_mapping_file(page); in flush_kernel_dcache_page()
364 if (!mapping || mapping_mapped(mapping)) { in flush_kernel_dcache_page()
399 * Write back and invalidate userspace mapping. in __flush_anon_page()
414 * Invalidate kernel mapping. No data should be contained in __flush_anon_page()
415 * in this mapping of the page. FIXME: this is overkill in __flush_anon_page()