Lines Matching refs:mm

16 #define flush_cache_mm(mm)			do { } while (0)  argument
17 #define flush_cache_range(mm, start, end) do { } while (0) argument
48 ev4_flush_tlb_current(struct mm_struct *mm) in ev4_flush_tlb_current() argument
50 __load_new_mm_context(mm); in ev4_flush_tlb_current()
55 ev5_flush_tlb_current(struct mm_struct *mm) in ev5_flush_tlb_current() argument
57 __load_new_mm_context(mm); in ev5_flush_tlb_current()
61 flush_tlb_other(struct mm_struct *mm) in flush_tlb_other() argument
63 long * mmc = &mm->context[smp_processor_id()]; in flush_tlb_other()
85 struct mm_struct *mm = vma->vm_mm; in flush_icache_user_range() local
86 if (current->active_mm == mm) in flush_icache_user_range()
87 __load_new_mm_context(mm); in flush_icache_user_range()
89 mm->context[smp_processor_id()] = 0; in flush_icache_user_range()
107 ev4_flush_tlb_current_page(struct mm_struct * mm, in ev4_flush_tlb_current_page() argument
113 __load_new_mm_context(mm); in ev4_flush_tlb_current_page()
120 ev5_flush_tlb_current_page(struct mm_struct * mm, in ev5_flush_tlb_current_page() argument
125 __load_new_mm_context(mm); in ev5_flush_tlb_current_page()
164 static inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables() argument
182 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() argument
184 if (mm == current->active_mm) in flush_tlb_mm()
185 flush_tlb_current(mm); in flush_tlb_mm()
187 flush_tlb_other(mm); in flush_tlb_mm()
201 struct mm_struct * mm = vma->vm_mm; in flush_tlb_page() local
203 if (mm == current->active_mm) in flush_tlb_page()
204 flush_tlb_current_page(mm, vma, addr); in flush_tlb_page()
206 flush_tlb_other(mm); in flush_tlb_page()
213 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range() argument
216 flush_tlb_mm(mm); in flush_tlb_range()
249 #define pmd_populate(mm, pmd, pte) pmd_set(pmd, pte) argument
250 #define pgd_populate(mm, pgd, pmd) pgd_set(pgd, pmd) argument
279 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one() argument
287 static inline pmd_t *pmd_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pmd_alloc_one_fast() argument
311 static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() argument
319 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast() argument
346 #define pgd_alloc(mm) get_pgd_fast() argument