Lines Matching refs:p_child
658 if ((q = p->p_child) != NULL && p != proc_init) { in proc_exit()
690 if (initp->p_child) { in proc_exit()
691 initp->p_child->p_psibling = q; in proc_exit()
693 q->p_sibling = initp->p_child; in proc_exit()
694 initp->p_child = q; in proc_exit()
708 p->p_child = NULL; in proc_exit()
972 if (pp->p_child) { in waitid()
981 while (pp->p_child != NULL) { in waitid()
1037 for (cp = pp->p_child; cp != NULL; cp = cp->p_sibling) { in waitid()
1192 if (q->p_child == p) { in proc_detach()
1193 q->p_child = p->p_sibling; in proc_detach()
1198 ASSERT(q->p_child ? 1 : q->p_child_ns == NULL); in proc_detach()