Lines Matching refs:nprocs
128 void child_mapper(char *file, unsigned procno, unsigned nprocs);
168 unsigned nprocs = 0; local
206 nprocs = atoi(optarg);
267 if (nprocs > 255) {
269 nprocs);
337 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {
342 for (i = 0; i < nprocs; i++)
347 if (++data == nprocs)
352 if (++data == nprocs)
385 for (procno = 0; procno < nprocs; procno++) {
393 child_mapper(filename, procno, nprocs);
439 for (i = 0; i < nprocs; i++)
442 if (i == nprocs) {
460 child_mapper(filename, i, nprocs);
490 for (i = 0; i < nprocs; i++)
524 void child_mapper(char *file, unsigned procno, unsigned nprocs) argument
642 for (i = procno; i < validsize; i += nprocs) {