Home
last modified time | relevance | path

Searched refs:oldmm (Results 1 – 6 of 6) sorted by relevance

/arch/x86/include/asm/
Dmmu_context.h66 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
71 static inline int ldt_dup_context(struct mm_struct *oldmm, in ldt_dup_context() argument
154 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument
162 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys()
163 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
167 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
169 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
170 paravirt_arch_dup_mmap(oldmm, mm); in arch_dup_mmap()
171 return ldt_dup_context(oldmm, mm); in arch_dup_mmap()
Dparavirt.h335 static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm, in paravirt_arch_dup_mmap() argument
338 PVOP_VCALL2(mmu.dup_mmap, oldmm, mm); in paravirt_arch_dup_mmap()
771 static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm,
Dparavirt_types.h182 void (*dup_mmap)(struct mm_struct *oldmm,
/arch/powerpc/include/asm/
Dmmu_context.h280 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
290 #define arch_dup_pkeys(oldmm, mm) argument
299 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
302 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
/arch/powerpc/mm/book3s64/
Dpkeys.c459 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_pkeys() argument
465 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm); in arch_dup_pkeys()
466 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
/arch/x86/xen/
Dmmu_pv.c889 static void xen_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in xen_dup_mmap() argument