Lines Matching refs:why
805 unsigned int why; in prepare_signal() local
828 why = 0; in prepare_signal()
830 why |= SIGNAL_CLD_CONTINUED; in prepare_signal()
832 why |= SIGNAL_CLD_STOPPED; in prepare_signal()
834 if (why) { in prepare_signal()
840 signal->flags = why | SIGNAL_STOP_CONTINUED; in prepare_signal()
1676 bool for_ptracer, int why) in do_notify_parent_cldstop() argument
1705 info.si_code = why; in do_notify_parent_cldstop()
1706 switch (why) { in do_notify_parent_cldstop()
1777 static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) in ptrace_stop() argument
1821 if (why == CLD_STOPPED && (current->jobctl & JOBCTL_STOP_PENDING)) in ptrace_stop()
1845 do_notify_parent_cldstop(current, true, why); in ptrace_stop()
1847 do_notify_parent_cldstop(current, false, why); in ptrace_stop()
1871 do_notify_parent_cldstop(current, false, why); in ptrace_stop()
1899 static void ptrace_do_notify(int signr, int exit_code, int why) in ptrace_do_notify() argument
1910 ptrace_stop(exit_code, why, 1, &info); in ptrace_do_notify()
2157 int why; in get_signal() local
2160 why = CLD_CONTINUED; in get_signal()
2162 why = CLD_STOPPED; in get_signal()
2177 do_notify_parent_cldstop(current, false, why); in get_signal()
2181 true, why); in get_signal()