Lines Matching refs:mapping
199 void __flush_dcache_folio(struct address_space *mapping, struct folio *folio) in __flush_dcache_folio() argument
234 if (mapping && cache_is_vipt_aliasing()) in __flush_dcache_folio()
238 static void __flush_dcache_aliases(struct address_space *mapping, struct folio *folio) in __flush_dcache_aliases() argument
253 flush_dcache_mmap_lock(mapping); in __flush_dcache_aliases()
254 vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff_end) { in __flush_dcache_aliases()
281 flush_dcache_mmap_unlock(mapping); in __flush_dcache_aliases()
289 struct address_space *mapping; in __sync_icache_dcache() local
303 mapping = folio_flush_mapping(folio); in __sync_icache_dcache()
305 mapping = NULL; in __sync_icache_dcache()
308 __flush_dcache_folio(mapping, folio); in __sync_icache_dcache()
336 struct address_space *mapping; in flush_dcache_folio() local
351 mapping = folio_flush_mapping(folio); in flush_dcache_folio()
354 mapping && !folio_mapped(folio)) in flush_dcache_folio()
357 __flush_dcache_folio(mapping, folio); in flush_dcache_folio()
358 if (mapping && cache_is_vivt()) in flush_dcache_folio()
359 __flush_dcache_aliases(mapping, folio); in flush_dcache_folio()
360 else if (mapping) in flush_dcache_folio()