/Linux-v5.15/arch/x86/include/asm/ |
D | mmu_context.h | 66 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()
|
D | paravirt.h | 335 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,
|
D | paravirt_types.h | 182 void (*dup_mmap)(struct mm_struct *oldmm,
|
/Linux-v5.15/include/linux/ |
D | ksm.h | 27 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument 29 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) in ksm_fork() 59 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument
|
D | khugepaged.h | 43 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument 45 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags)) in khugepaged_fork() 70 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument
|
D | uprobes.h | 121 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); 184 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument
|
/Linux-v5.15/kernel/ |
D | fork.c | 474 static void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file() argument 478 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file() 490 struct mm_struct *oldmm) in dup_mmap() argument 499 if (mmap_write_lock_killable(oldmm)) { in dup_mmap() 503 flush_cache_dup_mm(oldmm); in dup_mmap() 504 uprobe_dup_mmap(oldmm, mm); in dup_mmap() 511 dup_mm_exe_file(mm, oldmm); in dup_mmap() 513 mm->total_vm = oldmm->total_vm; in dup_mmap() 514 mm->data_vm = oldmm->data_vm; in dup_mmap() 515 mm->exec_vm = oldmm->exec_vm; in dup_mmap() [all …]
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | mmu_context.h | 280 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()
|
/Linux-v5.15/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 459 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()
|
/Linux-v5.15/include/asm-generic/ |
D | mm_hooks.h | 10 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
|
/Linux-v5.15/kernel/events/ |
D | uprobes.c | 1571 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument 1573 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) { in uprobe_dup_mmap()
|
/Linux-v5.15/arch/x86/xen/ |
D | mmu_pv.c | 889 static void xen_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in xen_dup_mmap() argument
|