Lines Matching defs:pp
434 proc_t pp;
807 pp = proc_parent(p);
808 if (pp->p_flag & P_NOCLDWAIT) {
825 proc_lock(pp);
826 ruadd(&pp->p_stats->p_cru, p->p_ru);
827 proc_unlock(pp);
837 if (pp != initproc) {
838 proc_lock(pp);
839 pp->si_pid = p->p_pid;
840 pp->si_status = p->p_xstat;
841 pp->si_code = CLD_EXITED;
846 pp->si_uid = kauth_cred_getruid(p->p_ucred);
847 proc_unlock(pp);
864 psignal(pp, SIGCHLD);
868 wakeup((caddr_t)pp);
899 (void)reap_child_locked(pp, p, 1, 0, 1, 1);
912 proc_rele(pp);
1699 proc_t pp;
1943 pp = proc_parent(p);
1945 if (pp != initproc) {
1946 proc_lock(pp);
1947 pp->si_pid = p->p_pid;
1948 pp->si_status = p->p_xstat;
1949 pp->si_code = CLD_EXITED;
1954 pp->si_uid = kauth_cred_getruid(p->p_ucred);
1955 proc_unlock(pp);
1966 psignal(pp, SIGCHLD);
1970 wakeup((caddr_t)pp);
1990 (void)reap_child_locked(pp, p, 0, 0, 1, 1);
1993 proc_rele(pp);