Lines Matching refs:nfds
111 static unsigned int nfds = 64;
130 OPT_UINTEGER('f', "nfds", &nfds, "Specify amount of file descriptors to monitor for each thread"),
330 w->fdmap = calloc(nfds, sizeof(int));
334 for (j = 0; j < nfds; j++) {
401 shuffle((void *)w->fdmap, nfds, sizeof(int));
404 for (j = 0; j < nfds; j++) {
478 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
486 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs);
540 if (nfds == 1)
546 &worker[i].fdmap[nfds-1], t);