Lines Matching refs:old_mm
980 struct mm_struct *old_mm, *active_mm; in exec_mmap() local
985 old_mm = current->mm; in exec_mmap()
986 exec_mm_release(tsk, old_mm); in exec_mmap()
987 if (old_mm) in exec_mmap()
988 sync_mm_rss(old_mm); in exec_mmap()
994 if (old_mm) { in exec_mmap()
1001 mmap_read_lock(old_mm); in exec_mmap()
1002 if (unlikely(old_mm->core_state)) { in exec_mmap()
1003 mmap_read_unlock(old_mm); in exec_mmap()
1031 if (old_mm) { in exec_mmap()
1032 mmap_read_unlock(old_mm); in exec_mmap()
1033 BUG_ON(active_mm != old_mm); in exec_mmap()
1034 setmax_mm_hiwater_rss(&tsk->signal->maxrss, old_mm); in exec_mmap()
1035 mm_update_next_owner(old_mm); in exec_mmap()
1036 mmput(old_mm); in exec_mmap()