Lines Matching defs:mapping
112 /* only flushing the kernel mapping on non-aliasing VIPT */
120 void __flush_dcache_page(struct address_space *mapping, struct page *page)
123 * Writeback any data associated with the kernel mapping of this
125 * coherent with the kernels mapping.
134 if (mapping && cache_is_vipt_aliasing())
139 static void __flush_dcache_aliases(struct address_space *mapping, struct page *page)
150 * - aliasing VIPT: we only need to find one mapping of this page.
154 flush_dcache_mmap_lock(mapping);
155 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) {
168 flush_dcache_mmap_unlock(mapping);
172 * Ensure cache coherency between kernel mapping and userspace mapping
191 struct address_space *mapping = page_mapping(page);
194 if (mapping && !mapping_mapped(mapping))
199 __flush_dcache_page(mapping, page);
200 if (mapping && cache_is_vivt())
201 __flush_dcache_aliases(mapping, page);
224 * Write back and invalidate userspace mapping.