Lines Matching defs:nproc
70 validpid(nproc, cpid)
71 int nproc;
76 for (i = 0; i < nproc; i++)
80 fprintf(stderr, "pid=%ld not found, nproc=%d\n",
81 (long) cpid, nproc);
89 ** nproc -- number of processes started
98 notify_rd(nproc, nmsgs)
99 int nproc;
114 for (i = 0; i < nmsgs * nproc; i++)
140 pidx = validpid(nproc, (pid_t)cpid);
142 SM_TEST(pidx < nproc);
146 if (NULL != p && pidx < nproc && pidx >= 0)
171 int nproc = 1;
196 nproc = atoi(optarg);
197 if (nproc < 1)
203 if (nproc >= MAX_CHILDREN)
229 for (i = 0; i < nproc; i++)
248 r = notify_rd(nproc, nmsgs);