Lines Matching defs:oldmm
60 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
65 static inline int ldt_dup_context(struct mm_struct *oldmm,
94 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm)
96 mm->context.lam_cr3_mask = oldmm->context.lam_cr3_mask;
97 mm->context.untag_mask = oldmm->context.untag_mask;
124 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm)
195 static inline void arch_dup_pkeys(struct mm_struct *oldmm,
202 /* Duplicate the oldmm pkey state in mm: */
203 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map;
204 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey;
208 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm)
210 arch_dup_pkeys(oldmm, mm);
212 dup_lam(oldmm, mm);
213 return ldt_dup_context(oldmm, mm);