Lines Matching refs:old_mm
974 struct mm_struct *old_mm, *active_mm; in exec_mmap() local
979 old_mm = current->mm; in exec_mmap()
980 exec_mm_release(tsk, old_mm); in exec_mmap()
981 if (old_mm) in exec_mmap()
982 sync_mm_rss(old_mm); in exec_mmap()
988 if (old_mm) { in exec_mmap()
994 ret = mmap_read_lock_killable(old_mm); in exec_mmap()
1023 if (old_mm) { in exec_mmap()
1024 mmap_read_unlock(old_mm); in exec_mmap()
1025 BUG_ON(active_mm != old_mm); in exec_mmap()
1026 setmax_mm_hiwater_rss(&tsk->signal->maxrss, old_mm); in exec_mmap()
1027 mm_update_next_owner(old_mm); in exec_mmap()
1028 mmput(old_mm); in exec_mmap()