Searched refs:oldmm (Results 1 – 2 of 2) sorted by relevance
640 static void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file() argument644 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file()656 struct mm_struct *oldmm) in dup_mmap() argument665 if (mmap_write_lock_killable(oldmm)) { in dup_mmap()669 flush_cache_dup_mm(oldmm); in dup_mmap()670 uprobe_dup_mmap(oldmm, mm); in dup_mmap()677 dup_mm_exe_file(mm, oldmm); in dup_mmap()679 mm->total_vm = oldmm->total_vm; in dup_mmap()680 mm->data_vm = oldmm->data_vm; in dup_mmap()681 mm->exec_vm = oldmm->exec_vm; in dup_mmap()[all …]
1570 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument1572 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) { in uprobe_dup_mmap()