Lines Matching full:mm
7 #include <linux/mm.h>
24 #define p4d_populate(MM, P4D, PUD) __p4d_populate(P4D, PUD) argument
26 static inline pgd_t *pgd_alloc(struct mm_struct *mm) in pgd_alloc() argument
31 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free() argument
41 #define pud_populate(MM, PUD, PMD) __pud_populate(PUD, PMD) argument
43 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one() argument
48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
53 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long addr) in pmd_alloc_one() argument
58 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() argument
63 pte_t *pte_alloc_one_kernel(struct mm_struct *mm);
64 pgtable_t pte_alloc_one(struct mm_struct *mm);
65 void pte_free_kernel(struct mm_struct *mm, pte_t *pte);
66 void pte_free(struct mm_struct *mm, pgtable_t ptepage);
68 /* arch use pte_free_defer() implementation in arch/sparc/mm/init_64.c */
70 void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable);
72 #define pmd_populate_kernel(MM, PMD, PTE) pmd_set(MM, PMD, PTE) argument
73 #define pmd_populate(MM, PMD, PTE) pmd_set(MM, PMD, PTE) argument