Lines Matching refs:tofork
187 int range, procno, i, tofork, nnsp, nrem; in mfork() local
216 tofork = nsp / max_sproc; in mfork()
218 tofork++; /* how many to fork */ in mfork()
224 tofork = max_sproc; /* how many to fork */ in mfork()
230 a_calloc(tofork, sizeof (*pcb)); in mfork()
231 nnsp = nsp / tofork; /* # of pcbs per forked process */ in mfork()
232 nrem = nsp % tofork; /* remainder to spread around */ in mfork()
238 for (i = 0; i < tofork; i++) { in mfork()
293 gather_pcb(pcb, 0, tofork - 1); in mfork()
565 int range, i, tofork, nnsp, nrem; in mcount() local
571 tofork = nsp / max_sproc; in mcount()
573 tofork++; in mcount()
575 tofork = max_sproc; in mcount()
577 nnsp = nsp / tofork; in mcount()
578 nrem = nsp % tofork; in mcount()
579 for (i = 0; i < tofork; i++) { in mcount()