Lines Matching refs:core_state
335 struct core_state *core_state, int exit_code) in zap_threads() argument
343 mm->core_state = core_state; in zap_threads()
406 atomic_set(&core_state->nr_threads, nr); in zap_threads()
410 static int coredump_wait(int exit_code, struct core_state *core_state) in coredump_wait() argument
416 init_completion(&core_state->startup); in coredump_wait()
417 core_state->dumper.task = tsk; in coredump_wait()
418 core_state->dumper.next = NULL; in coredump_wait()
423 if (!mm->core_state) in coredump_wait()
424 core_waiters = zap_threads(tsk, mm, core_state, exit_code); in coredump_wait()
431 wait_for_completion(&core_state->startup); in coredump_wait()
438 ptr = core_state->dumper.next; in coredump_wait()
460 next = mm->core_state->dumper.next; in coredump_finish()
473 mm->core_state = NULL; in coredump_finish()
541 struct core_state core_state; in do_coredump() local
589 retval = coredump_wait(siginfo->si_signo, &core_state); in do_coredump()