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

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_proc.c519 pp->p_parentref++;
534 if (p->p_parentref > 0) {
535 p->p_parentref--;
536 if ((p->p_parentref == 0) && ((p->p_listflag & P_LIST_PARENTREFWAIT) == P_LIST_PARENTREFWAIT)) {
538 wakeup(&p->p_parentref);
557 while (p->p_parentref > 0) {
559 msleep(&p->p_parentref, proc_list_mlock, 0, "proc_childdrainstart", 0) ;
588 if (p->p_parentref != 0)
589 panic("proc being freed and pending parentrefs %p:%d\n", p, p->p_parentref);
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h258 int p_parentref; /* children lookup ref on parent (LL) */ member in struct:proc

Completed in 72 milliseconds