Home
last modified time | relevance | path

Searched refs:max_fd (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/heimdal/lib/roken/
H A Dmini_inetd.c96 rk_socket_t max_fd = (rk_socket_t)-1; in mini_inetd_addrinfo() local
132 max_fd = max(max_fd, fds[i]); in mini_inetd_addrinfo()
142 ret = select (max_fd + 1, &read_set, NULL, NULL, NULL); in mini_inetd_addrinfo()
/freebsd/crypto/heimdal/kadmin/
H A Dkadm_conn.c177 int status, max_fd = -1; in wait_for_connection() local
187 max_fd = max(max_fd, socks[i]); in wait_for_connection()
201 e = select(max_fd + 1, &read_set, NULL, NULL, NULL); in wait_for_connection()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp106 std::optional<lldb::socket_t> max_fd; in Select() local
123 updateMaxFd(max_fd, fd); in Select()
126 if (!max_fd) { in Select()
131 const unsigned nfds = static_cast<unsigned>(*max_fd) + 1; in Select()
/freebsd/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c908 int max_fd = 0; in main() local
920 max_fd = max(max_fd, signal_fd); in main()
922 max_fd = max(max_fd, listen_fd); in main()
924 max_fd = max(max_fd, listen6_fd); in main()
930 max_fd = max(max_fd, p->fd); in main()
933 ret = select (max_fd + 1, in main()
/freebsd/contrib/ntp/libntp/
H A Dntp_worker.c118 int max_fd; in close_all_beyond()
120 max_fd = GETDTABLESIZE(); in close_all_beyond()
121 for (fd = keep_fd + 1; fd < max_fd; fd++) in close_all_beyond()
/freebsd/crypto/heimdal/kdc/
H A Dconnect.c856 int max_fd = 0; in loop() local
871 if(max_fd < d[i].s) in loop()
872 max_fd = d[i].s; in loop()
874 if (max_fd >= FD_SETSIZE) in loop()
900 switch(select(max_fd + 1, &fds, 0, 0, &tmout)){ in loop()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp189 int max_fd = sysconf(_SC_OPEN_MAX); in ChildFunc() local
190 for (int fd = 3; fd < max_fd; ++fd) in ChildFunc()
/freebsd/contrib/ntp/parseutil/
H A Ddcfd.c1186 int max_fd; in detach()
1189 max_fd = sysconf(_SC_OPEN_MAX); in detach()
1191 max_fd = getdtablesize(); in detach()
1193 for (s = 0; s < max_fd; s++) in detach()
/freebsd/crypto/heimdal/appl/rsh/
H A Drshd.c412 int max_fd; in rshd_loop() local
428 max_fd = max(from0, max(from1, from2)) + 1; in rshd_loop()
438 ret = select (max_fd, &readset, NULL, NULL, NULL); in rshd_loop()
/freebsd/sbin/devd/
H A Ddevd.cc1039 int stream_fd, seqpacket_fd, max_fd; in event_loop() local
1050 max_fd = max(fd, max(stream_fd, seqpacket_fd)) + 1; in event_loop()
1098 rv = select(max_fd, &fds, NULL, NULL, &tv); in event_loop()
/freebsd/contrib/wpa/src/utils/
H A Deloop.c88 int max_fd; member
310 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock()
317 eloop.max_fd = next; in eloop_sock_table_add_sock()
/freebsd/crypto/openssl/apps/
H A Dspeed.c1263 OSSL_ASYNC_FD max_fd = 0; in run_benchmark()
1283 if (job_fd > max_fd) in run_benchmark()
1284 max_fd = job_fd; in run_benchmark()
1287 if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) { in run_benchmark()
1291 max_fd, FD_SETSIZE); in run_benchmark()
1297 select_result = select(max_fd + 1, &waitfdset, NULL, NULL, NULL); in run_benchmark()
/freebsd/crypto/openssh/
H A Dssh-agent.c159 int max_fd = 0; variable
1929 if (fd > max_fd) in new_socket()
1930 max_fd = fd; in new_socket()