Lines Matching refs:mm
158 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file()
321 if (t != current && t->mm) { in zap_process()
331 static int zap_threads(struct task_struct *tsk, struct mm_struct *mm, in zap_threads() argument
340 mm->core_state = core_state; in zap_threads()
350 if (atomic_read(&mm->mm_users) == nr + 1) in zap_threads()
390 if (unlikely(!p->mm)) in zap_threads()
392 if (unlikely(p->mm == mm)) { in zap_threads()
410 struct mm_struct *mm = tsk->mm; in coredump_wait() local
417 if (down_write_killable(&mm->mmap_sem)) in coredump_wait()
420 if (!mm->core_state) in coredump_wait()
421 core_waiters = zap_threads(tsk, mm, core_state, exit_code); in coredump_wait()
422 up_write(&mm->mmap_sem); in coredump_wait()
445 static void coredump_finish(struct mm_struct *mm, bool core_dumped) in coredump_finish() argument
457 next = mm->core_state->dumper.next; in coredump_finish()
470 mm->core_state = NULL; in coredump_finish()
540 struct mm_struct *mm = current->mm; in do_coredump() local
560 .mm_flags = mm->flags, in do_coredump()
565 binfmt = mm->binfmt; in do_coredump()
772 coredump_finish(mm, core_dumped); in do_coredump()