Home | History | Annotate | Download | only in machine

Lines Matching refs:pbase

225 static struct proc *pbase;
301 pbase = (struct proc *)malloc(bytes);
306 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL)
431 (void) getkval(proc, (int *)pbase, bytes, "proc array");
433 if (pstat(PSTAT_PROC, &pst[i], sizeof(pst[i]), 0, pbase[i].p_pid) != 1)
434 pbase[i].p_upreg = (preg_t *) 0;
436 pbase[i].p_upreg = (preg_t *) &pst[i];
437 pbase[i].p_nice = pst[i].pst_nice;
438 pbase[i].p_cpticks = pst[i].pst_cpticks;
456 for (pp = pbase, i = 0; i < nproc; pp++, i++)