Home
last modified time | relevance | path

Searched refs:mpnt (Results 1 – 3 of 3) sorted by relevance

/arch/arm/mm/
Dfault-armv.c98 struct vm_area_struct *mpnt; in make_coherent() local
112 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in make_coherent()
118 if (mpnt->vm_mm != mm || mpnt == vma) in make_coherent()
120 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
122 offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; in make_coherent()
123 aliases += adjust_pte(mpnt, mpnt->vm_start + offset); in make_coherent()
Dflush.c143 struct vm_area_struct *mpnt; in __flush_dcache_aliases() local
156 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in __flush_dcache_aliases()
162 if (mpnt->vm_mm != mm) in __flush_dcache_aliases()
164 if (!(mpnt->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
166 offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; in __flush_dcache_aliases()
167 flush_cache_page(mpnt, mpnt->vm_start + offset, page_to_pfn(page)); in __flush_dcache_aliases()
/arch/parisc/kernel/
Dcache.c343 struct vm_area_struct *mpnt; in flush_dcache_page() local
369 vma_prio_tree_foreach(mpnt, &iter, &mapping->i_mmap, pgoff, pgoff) { in flush_dcache_page()
370 offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; in flush_dcache_page()
371 addr = mpnt->vm_start + offset; in flush_dcache_page()
384 if (translation_exists(mpnt, addr, pfn)) { in flush_dcache_page()
385 __flush_cache_page(mpnt, addr); in flush_dcache_page()