Lines Matching defs:pp
343 proc_t pp;
703 pp = proc_parent(p);
704 if (pp->p_flag & P_NOCLDWAIT) {
721 proc_lock(pp);
722 ruadd(&pp->p_stats->p_cru, p->p_ru);
723 proc_unlock(pp);
733 if (pp != initproc) {
734 proc_lock(pp);
735 pp->si_pid = p->p_pid;
736 pp->si_status = p->p_xstat;
737 pp->si_code = CLD_EXITED;
742 pp->si_uid = p->p_ucred->cr_ruid;
743 proc_unlock(pp);
757 psignal(pp, SIGCHLD);
761 wakeup((caddr_t)pp);
788 (void)reap_child_locked(pp, p, 1, 1, 1);
801 proc_rele(pp);
1600 proc_t pp;
1843 pp = proc_parent(p);
1845 if (pp != initproc) {
1846 proc_lock(pp);
1847 pp->si_pid = p->p_pid;
1848 pp->si_status = p->p_xstat;
1849 pp->si_code = CLD_EXITED;
1854 pp->si_uid = p->p_ucred->cr_ruid;
1855 proc_unlock(pp);
1866 psignal(pp, SIGCHLD);
1870 wakeup((caddr_t)pp);
1889 (void)reap_child_locked(pp, p, 0, 1, 1);
1892 proc_rele(pp);