Lines Matching refs:mm
13 #define flush_cache_mm(mm) do { } while (0) argument
14 #define flush_cache_range(mm,start,end) do { } while (0) argument
40 #define flush_tlb_mm(mm) memc_update_mm(mm) argument
41 #define flush_tlb_range(mm,start,end) \ argument
42 do { memc_update_mm(mm); (void)(start); (void)(end); } while (0)
54 if (!p->mm) in memc_update_all()
56 cpu_memc_update_all(p->mm->pgd); in memc_update_all()
61 static inline void memc_update_mm(struct mm_struct *mm) in memc_update_mm() argument
63 cpu_memc_update_all(mm->pgd); in memc_update_mm()
65 if (mm == current->active_mm) in memc_update_mm()
66 processor._set_pgd(mm->pgd); in memc_update_mm()
70 memc_clear(struct mm_struct *mm, struct page *page) in memc_clear() argument
72 cpu_memc_update_entry(mm->pgd, (unsigned long) page_address(page), 0); in memc_clear()
74 if (mm == current->active_mm) in memc_clear()
75 processor._set_pgd(mm->pgd); in memc_clear()
79 memc_update_addr(struct mm_struct *mm, pte_t pte, unsigned long vaddr) in memc_update_addr() argument
81 cpu_memc_update_entry(mm->pgd, pte_val(pte), vaddr); in memc_update_addr()
83 if (mm == current->active_mm) in memc_update_addr()
84 processor._set_pgd(mm->pgd); in memc_update_addr()
90 struct mm_struct *mm = vma->vm_mm; in update_mmu_cache() local
91 memc_update_addr(mm, pte, addr); in update_mmu_cache()