Home | History | Annotate | Download | only in machine

Lines Matching defs:pbase

237 static struct proc *pbase;
313 pbase = (struct proc *)malloc(bytes);
318 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL)
443 (void) getkval(proc, (int *)pbase, bytes, "proc array");
445 if (pstat(PSTAT_PROC, &pst[i], sizeof(pst[i]), 0, pbase[i].p_pid) != 1)
446 pbase[i].p_upreg = (preg_t *) 0;
448 pbase[i].p_upreg = (preg_t *) &pst[i];
449 pbase[i].p_nice = pst[i].pst_nice;
450 pbase[i].p_cpticks = pst[i].pst_cpticks;
468 for (pp = pbase, i = 0; i < nproc; pp++, i++)