Lines Matching refs:maxfd
578 int maxfd = -1; in main() local
589 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0) in main()
595 set_android_listeners(&rset, &maxfd); in main()
608 set_dbus_listeners(&maxfd, &rset, &wset, &eset); in main()
615 bump_maxfd(daemon->dhcpfd, &maxfd); in main()
621 bump_maxfd(daemon->netlinkfd, &maxfd); in main()
625 bump_maxfd(piperead, &maxfd); in main()
634 bump_maxfd(daemon->helperfd, &maxfd); in main()
644 set_log_writer(&wset, &maxfd); in main()
646 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0) in main()
1310 int maxfd = fd; in icmp_ping() local
1319 set_dns_listeners(now, &rset, &maxfd); in icmp_ping()
1320 set_log_writer(&wset, &maxfd); in icmp_ping()
1322 if (select(maxfd+1, &rset, &wset, NULL, &tv) < 0) in icmp_ping()