Lines Matching refs:fdmap
123 int *fdmap; member
330 w->fdmap = calloc(nfds, sizeof(int)); in do_threads()
331 if (!w->fdmap) in do_threads()
338 w->fdmap[j] = eventfd(0, EFD_NONBLOCK); in do_threads()
339 if (w->fdmap[j] < 0) in do_threads()
342 ev.data.fd = w->fdmap[j]; in do_threads()
346 w->fdmap[j], &ev); in do_threads()
401 shuffle((void *)w->fdmap, nfds, sizeof(int)); in writerfn()
406 sz = write(w->fdmap[j], &val, sizeof(val)); in writerfn()
542 worker[i].tid, &worker[i].fdmap[0], t); in bench_epoll_wait()
545 worker[i].tid, &worker[i].fdmap[0], in bench_epoll_wait()
546 &worker[i].fdmap[nfds-1], t); in bench_epoll_wait()
554 free(worker[i].fdmap); in bench_epoll_wait()