Lines Matching defs:mm
37 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
51 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address) in p4d_alloc_one()
59 #define p4d_free(mm, p4d) crst_table_free(mm, (unsigned long *) p4d) argument
61 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
68 #define pud_free(mm, pud) crst_table_free(mm, (unsigned long *) pud) argument
70 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
84 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
90 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
95 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
100 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
105 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
121 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
128 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate()
134 #define pmd_populate_kernel(mm, pmd, pte) pmd_populate(mm, pmd, pte) argument
142 #define pte_alloc_one_kernel(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) argument
143 #define pte_alloc_one(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) argument
145 #define pte_free_kernel(mm, pte) page_table_free(mm, (unsigned long *) pte) argument
146 #define pte_free(mm, pte) page_table_free(mm, (unsigned long *) pte) argument