Lines Matching refs:n_pollfds
229 static int n_pollfds;
764 n_pollfds = 0;
1371 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR)
1383 for (n = 0; n < n_pollfds; ++n)
1386 if (n_pollfds < MAX_POLLFDS) {
1387 pollfds[n_pollfds].fd = fd;
1388 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
1389 ++n_pollfds;
1402 for (n = 0; n < n_pollfds; ++n) {
1404 while (++n < n_pollfds)
1406 --n_pollfds;