Lines Matching full:mm
12 * @mm: the mm_struct of the current context
19 static inline pte_t *__pte_alloc_one_kernel_noprof(struct mm_struct *mm) in __pte_alloc_one_kernel_noprof() argument
33 * @mm: the mm_struct of the current context
37 static inline pte_t *pte_alloc_one_kernel_noprof(struct mm_struct *mm) in pte_alloc_one_kernel_noprof() argument
39 return __pte_alloc_one_kernel_noprof(mm); in pte_alloc_one_kernel_noprof()
46 * @mm: the mm_struct of the current context
49 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() argument
56 * @mm: the mm_struct of the current context
66 static inline pgtable_t __pte_alloc_one_noprof(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one_noprof() argument
85 * @mm: the mm_struct of the current context
91 static inline pgtable_t pte_alloc_one_noprof(struct mm_struct *mm) in pte_alloc_one_noprof() argument
93 return __pte_alloc_one_noprof(mm, GFP_PGTABLE_USER); in pte_alloc_one_noprof()
105 * @mm: the mm_struct of the current context
108 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free() argument
121 * @mm: the mm_struct of the current context
130 static inline pmd_t *pmd_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one_noprof() argument
135 if (mm == &init_mm) in pmd_alloc_one_noprof()
150 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() argument
163 static inline pud_t *__pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in __pud_alloc_one_noprof() argument
168 if (mm == &init_mm) in __pud_alloc_one_noprof()
184 * @mm: the mm_struct of the current context
191 static inline pud_t *pud_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in pud_alloc_one_noprof() argument
193 return __pud_alloc_one_noprof(mm, addr); in pud_alloc_one_noprof()
198 static inline void __pud_free(struct mm_struct *mm, pud_t *pud) in __pud_free() argument
207 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
209 __pud_free(mm, pud); in pud_free()
217 static inline p4d_t *__p4d_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in __p4d_alloc_one_noprof() argument
222 if (mm == &init_mm) in __p4d_alloc_one_noprof()
236 static inline p4d_t *p4d_alloc_one_noprof(struct mm_struct *mm, unsigned long addr) in p4d_alloc_one_noprof() argument
238 return __p4d_alloc_one_noprof(mm, addr); in p4d_alloc_one_noprof()
243 static inline void __p4d_free(struct mm_struct *mm, p4d_t *p4d) in __p4d_free() argument
252 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free() argument
254 if (!mm_p4d_folded(mm)) in p4d_free()
255 __p4d_free(mm, p4d); in p4d_free()
261 static inline pgd_t *__pgd_alloc_noprof(struct mm_struct *mm, unsigned int order) in __pgd_alloc_noprof() argument
266 if (mm == &init_mm) in __pgd_alloc_noprof()
279 static inline void __pgd_free(struct mm_struct *mm, pgd_t *pgd) in __pgd_free() argument
288 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() argument
290 __pgd_free(mm, pgd); in pgd_free()