Lines Matching refs:mm
12 * @mm: the mm_struct of the current context
19 static inline pte_t *__pte_alloc_one_kernel(struct mm_struct *mm)
32 * @mm: the mm_struct of the current context
36 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm)
38 return __pte_alloc_one_kernel(mm);
44 * @mm: the mm_struct of the current context
47 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
54 * @mm: the mm_struct of the current context
64 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp)
82 * @mm: the mm_struct of the current context
88 static inline pgtable_t pte_alloc_one(struct mm_struct *mm)
90 return __pte_alloc_one(mm, GFP_PGTABLE_USER);
101 * @mm: the mm_struct of the current context
104 static inline void pte_free(struct mm_struct *mm, struct page *pte_page)
118 * @mm: the mm_struct of the current context
127 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr)
132 if (mm == &init_mm)
146 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
160 static inline pud_t *__pud_alloc_one(struct mm_struct *mm, unsigned long addr)
165 if (mm == &init_mm)
180 * @mm: the mm_struct of the current context
187 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr)
189 return __pud_alloc_one(mm, addr);
193 static inline void __pud_free(struct mm_struct *mm, pud_t *pud)
203 static inline void pud_free(struct mm_struct *mm, pud_t *pud)
205 __pud_free(mm, pud);
212 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)