Lines Matching refs:mm
162 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file()
350 if (t != current && t->mm) { in zap_process()
360 static int zap_threads(struct task_struct *tsk, struct mm_struct *mm, in zap_threads() argument
369 mm->core_state = core_state; in zap_threads()
379 if (atomic_read(&mm->mm_users) == nr + 1) in zap_threads()
419 if (unlikely(!p->mm)) in zap_threads()
421 if (unlikely(p->mm == mm)) { in zap_threads()
439 struct mm_struct *mm = tsk->mm; in coredump_wait() local
446 if (down_write_killable(&mm->mmap_sem)) in coredump_wait()
449 if (!mm->core_state) in coredump_wait()
450 core_waiters = zap_threads(tsk, mm, core_state, exit_code); in coredump_wait()
451 up_write(&mm->mmap_sem); in coredump_wait()
474 static void coredump_finish(struct mm_struct *mm, bool core_dumped) in coredump_finish() argument
486 next = mm->core_state->dumper.next; in coredump_finish()
499 mm->core_state = NULL; in coredump_finish()
569 struct mm_struct *mm = current->mm; in do_coredump() local
591 .mm_flags = mm->flags, in do_coredump()
596 binfmt = mm->binfmt; in do_coredump()
804 coredump_finish(mm, core_dumped); in do_coredump()