Lines Matching refs:cnt
580 * void procs_prealloc(int cnt)
582 * Preallocate "cnt" procs structures. If "cnt" is less than or equal
590 int cnt;
594 cnt = max - maxprocs;
595 if (cnt > 0)
597 dprintf("procs_prealloc: need %d, deficit %d\n", max, cnt);
601 new = (struct prpsinfo *)malloc(cnt * PRPSINFOSIZE);
604 while (--cnt >= 0)
935 get_cpustats(int *cnt, struct cpustats *cpustats)
946 dprintf("get_cpustats(%d -> %d, %08x)\n", cnt, *cnt, cpustats);
972 if (cpu_num > *cnt)
975 dprintf("realloc array from %d to %d\n", *cnt, cpu_num);
976 *cnt = cpu_num;
1021 if (cpucount > *cnt)
1024 dprintf("realloc array from %d to %d\n", *cnt, cpucount);
1025 *cnt = cpucount;
1120 register int cnt, i;
1131 if ((cnt = swapctl(SC_GETNSWP, 0)) == -1)
1138 cnt * sizeof(struct swapent));
1143 swt->swt_n = cnt;
1148 i = cnt;
1163 i = cnt;