Lines Matching refs: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, in ldt_dup_context() argument
100 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam() argument
102 mm->context.lam_cr3_mask = oldmm->context.lam_cr3_mask; in dup_lam()
103 mm->context.untag_mask = oldmm->context.untag_mask; in dup_lam()
130 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam() argument
210 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument
218 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys()
219 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
223 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
225 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
227 dup_lam(oldmm, mm); in arch_dup_mmap()
228 return ldt_dup_context(oldmm, mm); in arch_dup_mmap()