Lines Matching defs:mm
29 static inline void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmdp)
33 pudval |= (mm == &init_mm) ? PUD_TABLE_UXN : PUD_TABLE_PXN;
51 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4dp, pud_t *pudp)
55 p4dval |= (mm == &init_mm) ? P4D_TABLE_UXN : P4D_TABLE_PXN;
59 static inline void pud_free(struct mm_struct *mm, pud_t *pud)
63 __pud_free(mm, pud);
80 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgdp, p4d_t *p4dp)
84 pgdval |= (mm == &init_mm) ? PGD_TABLE_UXN : PGD_TABLE_PXN;
88 static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long addr)
92 if (mm == &init_mm)
97 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d)
105 #define __p4d_free_tlb(tlb, p4d, addr) p4d_free((tlb)->mm, p4d)
113 extern pgd_t *pgd_alloc(struct mm_struct *mm);
114 extern void pgd_free(struct mm_struct *mm, pgd_t *pgdp);
124 * of the mm address space.
127 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep)
129 VM_BUG_ON(mm && mm != &init_mm);
134 pmd_populate(struct mm_struct *mm, pmd_t *pmdp, pgtable_t ptep)
136 VM_BUG_ON(mm == &init_mm);