Lines Matching refs:old_mm
982 struct mm_struct *old_mm, *active_mm; in exec_mmap() local
987 old_mm = current->mm; in exec_mmap()
988 exec_mm_release(tsk, old_mm); in exec_mmap()
989 if (old_mm) in exec_mmap()
990 sync_mm_rss(old_mm); in exec_mmap()
996 if (old_mm) { in exec_mmap()
1002 ret = mmap_read_lock_killable(old_mm); in exec_mmap()
1032 if (old_mm) { in exec_mmap()
1033 mmap_read_unlock(old_mm); in exec_mmap()
1034 BUG_ON(active_mm != old_mm); in exec_mmap()
1035 setmax_mm_hiwater_rss(&tsk->signal->maxrss, old_mm); in exec_mmap()
1036 mm_update_next_owner(old_mm); in exec_mmap()
1037 mmput(old_mm); in exec_mmap()