Lines Matching refs:mm
35 #define flush_cache_mm(mm) flush_cache_all() argument
37 #define flush_cache_mm(mm) flush_cache_all_local() argument
73 flush_cache_range(struct mm_struct *mm, unsigned long start, unsigned long end) in flush_cache_range() argument
77 if (!mm->context) { in flush_cache_range()
83 if (mm->context == sr3) { in flush_cache_range()
162 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() argument
164 if (mm == &init_mm) BUG(); /* Should never happen */ in flush_tlb_mm()
169 if (mm) { in flush_tlb_mm()
170 if (mm->context != 0) in flush_tlb_mm()
171 free_sid(mm->context); in flush_tlb_mm()
172 mm->context = alloc_sid(); in flush_tlb_mm()
173 if (mm == current->active_mm) in flush_tlb_mm()
174 load_context(mm->context); in flush_tlb_mm()
179 extern __inline__ void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long … in flush_tlb_pgtables() argument
193 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range() argument
203 mtsp(mm->context,1); in flush_tlb_range()
224 static inline pgd_t *pgd_alloc (struct mm_struct *mm) in pgd_alloc() argument
245 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate() argument
250 static inline pmd_t *pmd_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pmd_alloc_one_fast() argument
255 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one() argument
277 #define pmd_alloc_one_fast(mm, addr) ({ BUG(); ((pmd_t *)1); }) argument
278 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *)2); }) argument
280 #define pgd_populate(mm, pmd, pte) BUG() argument
284 static inline void pmd_populate (struct mm_struct *mm, pmd_t *pmd_entry, pte_t *pte) in pmd_populate() argument
289 static inline pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast() argument
294 static inline pte_t *pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() argument