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"),
323 w->fdmap = calloc(nfds, sizeof(int));
327 for (j = 0; j < nfds; j++) {
388 shuffle((void *)w->fdmap, nfds, sizeof(int));
391 for (j = 0; j < nfds; j++) {
465 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
473 getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs);
527 if (nfds == 1)
533 &worker[i].fdmap[nfds-1], t);