Lines Matching refs:nused
2020 size_t nused = 1; in main_loop_poll() local
2028 nused = 2; in main_loop_poll()
2037 idx_nl_status_fd = nused; in main_loop_poll()
2038 conns[nused].fd = nl_status_fd; in main_loop_poll()
2039 conns[nused].events = POLLRDNORM; in main_loop_poll()
2040 ++nused; in main_loop_poll()
2041 firstfree = nused; in main_loop_poll()
2054 - ((MAX_ACCEPT_TIMEOUT - MIN_ACCEPT_TIMEOUT) * 1000 * nused) / (2 * nconns)) in main_loop_poll()
2056 int n = poll (conns, nused, MAIN_THREAD_TIMEOUT); in main_loop_poll()
2078 if (firstfree >= nused) in main_loop_poll()
2079 nused = firstfree + 1; in main_loop_poll()
2083 while (firstfree < nused && conns[firstfree].fd != -1); in main_loop_poll()
2108 if (nused == 2) in main_loop_poll()
2109 nused = 1; in main_loop_poll()
2134 for (size_t cnt = first; cnt < nused && n > 0; ++cnt) in main_loop_poll()
2143 if (cnt == nused - 1) in main_loop_poll()
2145 --nused; in main_loop_poll()
2146 while (conns[nused - 1].fd == -1); in main_loop_poll()
2153 assert (nused > 0); in main_loop_poll()
2159 - ((MAX_ACCEPT_TIMEOUT - MIN_ACCEPT_TIMEOUT) * nused) / nconns) in main_loop_poll()
2162 for (size_t cnt = nused - 1; cnt > 0; --cnt) in main_loop_poll()
2172 if (cnt == nused - 1) in main_loop_poll()
2174 --nused; in main_loop_poll()
2175 while (conns[nused - 1].fd == -1); in main_loop_poll()
2190 int nused = 1; in main_loop_epoll() local
2208 nused = 2; in main_loop_epoll()
2257 ++nused; in main_loop_epoll()
2305 --nused; in main_loop_epoll()