Lines Matching refs:maxfd
572 int maxfd = -1;
583 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0)
589 set_android_listeners(&rset, &maxfd);
602 set_dbus_listeners(&maxfd, &rset, &wset, &eset);
609 bump_maxfd(daemon->dhcpfd, &maxfd);
615 bump_maxfd(daemon->netlinkfd, &maxfd);
619 bump_maxfd(piperead, &maxfd);
628 bump_maxfd(daemon->helperfd, &maxfd);
638 set_log_writer(&wset, &maxfd);
640 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0)
1289 int maxfd = fd;
1298 set_dns_listeners(now, &rset, &maxfd);
1299 set_log_writer(&wset, &maxfd);
1301 if (select(maxfd+1, &rset, &wset, NULL, &tv) < 0)