Lines Matching refs:siginfo
1050 int *status, int options, struct __wrusage *wrusage, siginfo_t *siginfo, in proc_to_reap() argument
1139 if (siginfo != NULL) { in proc_to_reap()
1140 bzero(siginfo, sizeof(*siginfo)); in proc_to_reap()
1141 siginfo->si_errno = 0; in proc_to_reap()
1149 siginfo->si_signo = SIGCHLD; in proc_to_reap()
1156 siginfo->si_code = CLD_DUMPED; in proc_to_reap()
1157 siginfo->si_status = WTERMSIG(p->p_xsig); in proc_to_reap()
1159 siginfo->si_code = CLD_KILLED; in proc_to_reap()
1160 siginfo->si_status = WTERMSIG(p->p_xsig); in proc_to_reap()
1162 siginfo->si_code = CLD_EXITED; in proc_to_reap()
1163 siginfo->si_status = p->p_xexit; in proc_to_reap()
1166 siginfo->si_pid = p->p_pid; in proc_to_reap()
1167 siginfo->si_uid = p->p_ucred->cr_uid; in proc_to_reap()
1243 report_alive_proc(struct thread *td, struct proc *p, siginfo_t *siginfo, in report_alive_proc() argument
1267 if (siginfo != NULL) { in report_alive_proc()
1268 siginfo->si_code = si_code; in report_alive_proc()
1269 siginfo->si_status = cont ? SIGCONT : p->p_xsig; in report_alive_proc()
1279 int options, struct __wrusage *wrusage, siginfo_t *siginfo) in kern_wait6() argument
1325 wrusage, siginfo, 0); in kern_wait6()
1363 report_alive_proc(td, p, siginfo, status, in kern_wait6()
1375 report_alive_proc(td, p, siginfo, status, in kern_wait6()
1382 report_alive_proc(td, p, siginfo, status, options, in kern_wait6()