Lines Matching refs:old_mm
961 struct mm_struct *old_mm, *active_mm; in exec_mmap() local
966 old_mm = current->mm; in exec_mmap()
967 exec_mm_release(tsk, old_mm); in exec_mmap()
973 if (old_mm) { in exec_mmap()
979 ret = mmap_read_lock_killable(old_mm); in exec_mmap()
1009 if (old_mm) { in exec_mmap()
1010 mmap_read_unlock(old_mm); in exec_mmap()
1011 BUG_ON(active_mm != old_mm); in exec_mmap()
1012 setmax_mm_hiwater_rss(&tsk->signal->maxrss, old_mm); in exec_mmap()
1013 mm_update_next_owner(old_mm); in exec_mmap()
1014 mmput(old_mm); in exec_mmap()