Lines Matching defs:oldmm
566 void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm)
570 exe_file = get_mm_exe_file(oldmm);
573 * We depend on the oldmm having properly denied write access to the
1518 * @oldmm: the mm to duplicate.
1520 * Allocates a new mm structure and duplicates the provided @oldmm structure
1526 struct mm_struct *oldmm)
1535 memcpy(mm, oldmm, sizeof(*mm));
1541 err = dup_mmap(mm, oldmm);
1568 struct mm_struct *mm, *oldmm;
1585 oldmm = current->mm;
1586 if (!oldmm)
1590 mmget(oldmm);
1591 mm = oldmm;