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