Searched refs:n_pollfds (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/
H A Dsys-sunos4.c84 static int n_pollfds; variable
163 n_pollfds = 0;
583 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR) {
600 for (n = 0; n < n_pollfds; ++n)
603 if (n_pollfds < MAX_POLLFDS) {
604 pollfds[n_pollfds].fd = fd;
605 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
606 ++n_pollfds;
619 for (n = 0; n < n_pollfds; ++n) {
621 while (++n < n_pollfds)
[all...]
H A Dsys-solaris.c184 static int n_pollfds; variable
719 n_pollfds = 0;
1301 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR)
1313 for (n = 0; n < n_pollfds; ++n)
1316 if (n_pollfds < MAX_POLLFDS) {
1317 pollfds[n_pollfds].fd = fd;
1318 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
1319 ++n_pollfds;
1332 for (n = 0; n < n_pollfds; ++n) {
1334 while (++n < n_pollfds)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-common/
H A Dsimple-watch.c71 int n_pollfds, max_pollfds, rebuild_pollfds; member in struct:AvahiSimplePoll
346 s->max_pollfds = s->n_pollfds = 0;
420 s->n_pollfds = idx;
526 if (s->poll_func(s->pollfds, s->n_pollfds, s->prepared_timeout, s->poll_func_userdata) < 0) {
574 assert(w->idx < s->n_pollfds);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-common/
H A Dsimple-watch.c71 int n_pollfds, max_pollfds, rebuild_pollfds; member in struct:AvahiSimplePoll
346 s->max_pollfds = s->n_pollfds = 0;
420 s->n_pollfds = idx;
526 if (s->poll_func(s->pollfds, s->n_pollfds, s->prepared_timeout, s->poll_func_userdata) < 0) {
574 assert(w->idx < s->n_pollfds);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-solaris.c229 static int n_pollfds; variable
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)
[all...]

Completed in 183 milliseconds