Lines Matching refs:nfds
60 static unsigned int nfds = 64;
77 OPT_UINTEGER('f', "nfds", &nfds, "Specify amount of file descriptors to monitor for each thread"),
165 fd = w->fdmap[rnd1 % nfds];
191 for (i = 0; i < nfds; i++) {
214 for (i = 0; i < nfds; i+=inc) {
244 w->fdmap = calloc(nfds, sizeof(int));
248 for (j = 0; j < nfds; j++) {
358 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
366 getpid(), nthreads, nfds, nsecs);
410 if (nfds == 1)
417 &worker[i].fdmap[nfds-1],