Lines Matching refs:core_state
382 struct core_state *core_state, int exit_code) in zap_threads() argument
389 signal->core_state = core_state; in zap_threads()
393 atomic_set(&core_state->nr_threads, nr); in zap_threads()
399 static int coredump_wait(int exit_code, struct core_state *core_state) in coredump_wait() argument
404 init_completion(&core_state->startup); in coredump_wait()
405 core_state->dumper.task = tsk; in coredump_wait()
406 core_state->dumper.next = NULL; in coredump_wait()
408 core_waiters = zap_threads(tsk, core_state, exit_code); in coredump_wait()
412 wait_for_completion_state(&core_state->startup, in coredump_wait()
419 ptr = core_state->dumper.next; in coredump_wait()
437 next = current->signal->core_state->dumper.next; in coredump_finish()
438 current->signal->core_state = NULL; in coredump_finish()
519 struct core_state core_state; in do_coredump() local
569 retval = coredump_wait(siginfo->si_signo, &core_state); in do_coredump()