Lines Matching defs:pp
1530 proc_t pp;
1811 pp = proc_parentholdref(sig_proc);
1812 stop(sig_proc, pp);
1813 if (( pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) {
1820 pp->si_pid = sig_proc->p_pid;
1827 pp->si_status = WEXITSTATUS(sig_proc->p_xstat);
1829 pp->si_status = W_EXITCODE(signum, signum);
1830 pp->si_code = CLD_STOPPED;
1831 pp->si_uid = r_uid;
1834 psignal(pp, SIGCHLD);
1836 if (pp != PROC_NULL)
1837 proc_parentdropref(pp, 0);
1999 proc_t pp;
2073 pp = proc_parentholdref(p);
2074 if (pp != PROC_NULL) {
2075 proc_lock(pp);
2077 pp->si_pid = p->p_pid;
2078 pp->si_status = p->p_xstat;
2079 pp->si_code = CLD_TRAPPED;
2080 pp->si_uid = r_uid;
2082 proc_unlock(pp);
2106 if (pp != PROC_NULL) {
2107 psignal(pp, SIGCHLD);
2109 wakeup((caddr_t)pp);
2110 proc_parentdropref(pp, 1);
2228 pp = proc_parentholdref(p);
2229 stop(p, pp);
2230 if ((pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) {
2235 proc_lock(pp);
2236 pp->si_pid = p->p_pid;
2237 pp->si_status = WEXITSTATUS(p->p_xstat);
2238 pp->si_code = CLD_STOPPED;
2239 pp->si_uid = r_uid;
2240 proc_unlock(pp);
2242 psignal(pp, SIGCHLD);
2244 if (pp != PROC_NULL)
2245 proc_parentdropref(pp, 0);