Searched refs:p_parentref (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_proc.c535 pp->p_parentref++;
550 if (p->p_parentref > 0) {
551 p->p_parentref--;
552 if ((p->p_parentref == 0) && ((p->p_listflag & P_LIST_PARENTREFWAIT) == P_LIST_PARENTREFWAIT)) {
554 wakeup(&p->p_parentref);
573 while (p->p_parentref > 0) {
575 msleep(&p->p_parentref, proc_list_mlock, 0, "proc_childdrainstart", 0) ;
604 if (p->p_parentref != 0)
605 panic("proc being freed and pending parentrefs %p:%d\n", p, p->p_parentref);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h260 int p_parentref; /* children lookup ref on parent (LL) */ member in struct:proc

Completed in 104 milliseconds