Lines Matching refs:mapping
168 void __flush_dcache_page(struct address_space *mapping, struct page *page)
171 * Writeback any data associated with the kernel mapping of this
173 * coherent with the kernels mapping.
195 if (mapping && cache_is_vipt_aliasing())
200 static void __flush_dcache_aliases(struct address_space *mapping, struct page *page)
211 * - aliasing VIPT: we only need to find one mapping of this page.
215 flush_dcache_mmap_lock(mapping);
216 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) {
229 flush_dcache_mmap_unlock(mapping);
233 * Ensure cache coherency between kernel mapping and userspace mapping
252 struct address_space *mapping;
261 mapping = page_mapping(page);
265 mapping && !mapping_mapped(mapping))
268 __flush_dcache_page(mapping, page);
269 if (mapping && cache_is_vivt())
270 __flush_dcache_aliases(mapping, page);
271 else if (mapping)
277 if (!PageHighMem(page) && mapping && !mapping_mapped(mapping))
282 __flush_dcache_page(mapping, page);
283 if (mapping && cache_is_vivt())
284 __flush_dcache_aliases(mapping, page);
285 else if (mapping)
311 * Write back and invalidate userspace mapping.