Lines Matching defs:pp
1721 proc_t pp;
2017 pp = proc_parentholdref(sig_proc);
2018 stop(sig_proc, pp);
2019 if (( pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) {
2026 pp->si_pid = sig_proc->p_pid;
2033 pp->si_status = WEXITSTATUS(sig_proc->p_xstat);
2035 pp->si_status = W_EXITCODE(signum, signum);
2036 pp->si_code = CLD_STOPPED;
2037 pp->si_uid = r_uid;
2040 psignal(pp, SIGCHLD);
2042 if (pp != PROC_NULL)
2043 proc_parentdropref(pp, 0);
2213 proc_t pp;
2285 pp = proc_parentholdref(p);
2286 if (pp != PROC_NULL) {
2287 proc_lock(pp);
2289 pp->si_pid = p->p_pid;
2290 pp->si_status = p->p_xstat;
2291 pp->si_code = CLD_TRAPPED;
2292 pp->si_uid = r_uid;
2294 proc_unlock(pp);
2318 if (pp != PROC_NULL) {
2319 psignal(pp, SIGCHLD);
2321 wakeup((caddr_t)pp);
2322 proc_parentdropref(pp, 1);
2443 pp = proc_parentholdref(p);
2444 stop(p, pp);
2445 if ((pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) {
2450 proc_lock(pp);
2451 pp->si_pid = p->p_pid;
2452 pp->si_status = WEXITSTATUS(p->p_xstat);
2453 pp->si_code = CLD_STOPPED;
2454 pp->si_uid = r_uid;
2455 proc_unlock(pp);
2457 psignal(pp, SIGCHLD);
2459 if (pp != PROC_NULL)
2460 proc_parentdropref(pp, 0);