Searched refs:oldmm (Results 1 – 2 of 2) sorted by relevance
523 static void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file() argument527 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file()539 struct mm_struct *oldmm) in dup_mmap() argument548 if (mmap_write_lock_killable(oldmm)) { in dup_mmap()552 flush_cache_dup_mm(oldmm); in dup_mmap()553 uprobe_dup_mmap(oldmm, mm); in dup_mmap()560 dup_mm_exe_file(mm, oldmm); in dup_mmap()562 mm->total_vm = oldmm->total_vm; in dup_mmap()563 mm->data_vm = oldmm->data_vm; in dup_mmap()564 mm->exec_vm = oldmm->exec_vm; in dup_mmap()[all …]
1571 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument1573 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) { in uprobe_dup_mmap()