Lines Matching defs:pp
475 proc_t pp;
481 pp = p->p_pptr;
482 if ((pp == PROC_NULL) || (pp->p_stat == SZOMB) || ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED))) {
487 if ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == P_LIST_CHILDDRSTART) {
488 pp->p_listflag |= P_LIST_CHILDDRWAIT;
489 msleep(&pp->p_childrencnt, proc_list_mlock, 0, "proc_parent", 0);
498 if ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == 0) {
499 pp->p_parentref++;
500 parent = pp;
603 proc_t pp;
607 pp = p->p_pptr;
608 parent = proc_refinternal_locked(pp);
609 if ((parent == PROC_NULL) && (pp != PROC_NULL) && (pp->p_stat != SZOMB) && ((pp->p_listflag & P_LIST_EXITED) != 0) && ((pp->p_listflag & P_LIST_CHILDDRAINED)== 0)){
610 pp->p_listflag |= P_LIST_CHILDLKWAIT;
611 msleep(&pp->p_childrencnt, proc_list_mlock, 0, "proc_parent", 0);