/kernel/linux/linux-5.10/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 150 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument 158 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys() 159 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys() 163 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument 165 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap() 166 paravirt_arch_dup_mmap(oldmm, mm); in arch_dup_mmap() 167 return ldt_dup_context(oldmm, mm); in arch_dup_mmap()
|
D | paravirt.h | 318 static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm, in paravirt_arch_dup_mmap() argument 321 PVOP_VCALL2(mmu.dup_mmap, oldmm, mm); in paravirt_arch_dup_mmap() 813 static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm, in paravirt_arch_dup_mmap() argument
|
D | paravirt_types.h | 221 void (*dup_mmap)(struct mm_struct *oldmm,
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/kernel/ |
D | fork.c | 477 struct mm_struct *oldmm) in dup_mmap() argument 486 if (mmap_write_lock_killable(oldmm)) { in dup_mmap() 490 flush_cache_dup_mm(oldmm); in dup_mmap() 491 uprobe_dup_mmap(oldmm, mm); in dup_mmap() 498 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 500 mm->total_vm = oldmm->total_vm; in dup_mmap() 501 mm->data_vm = oldmm->data_vm; in dup_mmap() 502 mm->exec_vm = oldmm->exec_vm; in dup_mmap() 503 mm->stack_vm = oldmm->stack_vm; in dup_mmap() 508 retval = ksm_fork(mm, oldmm); in dup_mmap() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mmu_context.h | 272 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm); 285 #define arch_dup_pkeys(oldmm, mm) argument 294 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument 297 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
|
/kernel/linux/linux-5.10/drivers/oprofile/ |
D | buffer_sync.c | 496 struct mm_struct *oldmm; in sync_buffer() local 537 oldmm = mm; in sync_buffer() 538 release_mm(oldmm); in sync_buffer() 540 if (mm != oldmm) in sync_buffer()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 439 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_pkeys() argument 445 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm); in arch_dup_pkeys() 446 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | mm_hooks.h | 10 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | mmu_context.h | 19 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
|
/kernel/linux/linux-5.10/kernel/events/ |
D | uprobes.c | 1572 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument 1574 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) { in uprobe_dup_mmap()
|
/kernel/linux/linux-5.10/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
|