Lines Matching refs:nprocs
99 void child_mapper(unsigned procno, unsigned nprocs);
117 unsigned nprocs = 0; in main() local
148 nprocs = atoi(optarg); in main()
172 if (nprocs > 255) { in main()
174 nprocs); in main()
201 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) { in main()
206 for (i = 0; i < nprocs; i++) in main()
215 if (++data == nprocs) in main()
230 for (procno = 0; procno < nprocs; procno++) { in main()
238 child_mapper(procno, nprocs); in main()
299 for (i = 0; i < nprocs; i++) in main()
302 if (i == nprocs) { in main()
314 child_mapper(i, nprocs); in main()
348 for (i = 0; i < nprocs; i++) in main()
374 void child_mapper(unsigned procno, unsigned nprocs) in child_mapper() argument
400 for (i = procno; i < pagesize; i += nprocs) { in child_mapper()