Searched refs:oldmm (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/powerpc/include/asm/ |
| H A D | mmu_context.h | 263 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()
|
| /linux/include/asm-generic/ |
| H A D | mm_hooks.h | 10 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
|
| /linux/kernel/ |
| H A D | fork.c | 566 void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file() argument 570 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file() 573 * We depend on the oldmm having properly denied write access to the in dup_mm_exe_file() 1520 * @oldmm: the mm to duplicate. 1522 * Allocates a new mm structure and duplicates the provided @oldmm structure 1528 struct mm_struct *oldmm) in dup_mm() argument 1537 memcpy(mm, oldmm, sizeof(*mm)); in dup_mm() 1543 err = dup_mmap(mm, oldmm); in dup_mm() 1570 struct mm_struct *mm, *oldmm; in copy_mm() local 1587 oldmm in copy_mm() [all...] |
| /linux/mm/ |
| H A D | nommu.c | 1927 int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mmap() argument 1929 mmap_write_lock(oldmm); in dup_mmap() 1930 dup_mm_exe_file(mm, oldmm); in dup_mmap() 1931 mmap_write_unlock(oldmm); in dup_mmap()
|
| H A D | internal.h | 1517 void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm); 1518 int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm);
|
| /linux/kernel/events/ |
| H A D | uprobes.c | 1841 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument 1843 if (mm_flags_test(MMF_HAS_UPROBES, oldmm)) { in uprobe_dup_mmap()
|