Lines Matching refs:mm

57 extern __inline__ pgd_t *pgd_alloc(struct mm_struct *mm)  in pgd_alloc()  argument
86 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); }) argument
87 #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) argument
91 #define pgd_populate(mm, pmd, pte) BUG() argument
93 extern inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate() argument
104 extern inline pte_t * pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pte_alloc_one() argument
118 pte_alloc_one_fast(struct mm_struct *mm, unsigned long address) in pte_alloc_one_fast() argument
192 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() argument
201 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range() argument
240 static inline void __flush_tlb_mm(struct mm_struct * mm) in __flush_tlb_mm() argument
242 if (mm->cpu_vm_mask != (1UL << smp_processor_id())) { in __flush_tlb_mm()
244 if (mm == current->active_mm && in __flush_tlb_mm()
245 atomic_read(&mm->mm_users) == 1) in __flush_tlb_mm()
247 mm->cpu_vm_mask = 1UL << smp_processor_id(); in __flush_tlb_mm()
255 __flush_tlb_mm(current->mm); in flush_tlb()
261 static inline void flush_tlb_mm(struct mm_struct *mm) in flush_tlb_mm() argument
263 __flush_tlb_mm(mm); in flush_tlb_mm()
270 static inline void flush_tlb_range(struct mm_struct *mm, in flush_tlb_range() argument
273 __flush_tlb_mm(mm); in flush_tlb_range()
278 extern inline void flush_tlb_pgtables(struct mm_struct *mm, in flush_tlb_pgtables() argument