Lines Matching defs:mm
56 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
61 #define pud_alloc_one(mm,address) ({ BUG(); ((pud_t *)2); }) argument
62 #define pud_free(mm, x) do { } while (0) argument
64 #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) argument
65 #define pmd_free(mm, x) do { } while (0) argument
67 #define pgd_populate(mm, pgd, pud) BUG() argument
68 #define pud_populate(mm, pud, pmd) BUG() argument
72 static inline unsigned long pgd_entry_type(struct mm_struct *mm) in pgd_entry_type()
84 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
91 #define pud_free(mm, pud) crst_table_free(mm, (unsigned long *) pud) argument
93 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr) in pmd_alloc_one()
107 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free()
113 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
118 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
125 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc()
132 #define pgd_free(mm, pgd) crst_table_free(mm, (unsigned long *) pgd) argument
134 static inline void pmd_populate(struct mm_struct *mm, in pmd_populate()
140 #define pmd_populate_kernel(mm, pmd, pte) pmd_populate(mm, pmd, pte) argument
148 #define pte_alloc_one_kernel(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) argument
149 #define pte_alloc_one(mm, vmaddr) ((pte_t *) page_table_alloc(mm)) argument
151 #define pte_free_kernel(mm, pte) page_table_free(mm, (unsigned long *) pte) argument
152 #define pte_free(mm, pte) page_table_free(mm, (unsigned long *) pte) argument