Home | History | Annotate | Download | only in pppd

Lines Matching full:n_pollfds

229 static int n_pollfds;
764 n_pollfds = 0;
1374 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR)
1386 for (n = 0; n < n_pollfds; ++n)
1389 if (n_pollfds < MAX_POLLFDS) {
1390 pollfds[n_pollfds].fd = fd;
1391 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
1392 ++n_pollfds;
1405 for (n = 0; n < n_pollfds; ++n) {
1407 while (++n < n_pollfds)
1409 --n_pollfds;