Home
last modified time | relevance | path

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

/arch/x86/include/asm/
A Dmmu_context.h60 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()
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()
225 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
227 dup_lam(oldmm, mm); in arch_dup_mmap()
[all …]
/arch/arm64/include/asm/
A Dmmu_context.h186 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument
190 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys()
193 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
195 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
/arch/powerpc/include/asm/
A Dmmu_context.h263 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
273 #define arch_dup_pkeys(oldmm, mm) argument
282 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
285 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
/arch/powerpc/mm/book3s64/
A Dpkeys.c461 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_pkeys() argument
467 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm); in arch_dup_pkeys()
468 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()

Completed in 12 milliseconds