Lines Matching refs:p_child
650 if ((q = p->p_child) != NULL && p != proc_init) { in proc_exit()
682 if (initp->p_child) { in proc_exit()
683 initp->p_child->p_psibling = q; in proc_exit()
685 q->p_sibling = initp->p_child; in proc_exit()
686 initp->p_child = q; in proc_exit()
700 p->p_child = NULL; in proc_exit()
964 if (pp->p_child) { in waitid()
973 while (pp->p_child != NULL) { in waitid()
1029 for (cp = pp->p_child; cp != NULL; cp = cp->p_sibling) { in waitid()
1184 if (q->p_child == p) { in proc_detach()
1185 q->p_child = p->p_sibling; in proc_detach()
1190 ASSERT(q->p_child ? 1 : q->p_child_ns == NULL); in proc_detach()