Home
last modified time | relevance | path

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

/freebsd-12.1/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-12.1/contrib/amd/amd/
H A Dnfs_start.c64 static int max_fd = 0; in checkup() local
71 if (max_fd < next_fd) { in checkup()
73 next_fd - max_fd, next_fd); in checkup()
74 max_fd = next_fd; in checkup()
/freebsd-12.1/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-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DSelectHelper.cpp107 llvm::Optional<lldb::socket_t> max_fd; in Select() local
124 updateMaxFd(max_fd, fd); in Select()
127 if (!max_fd.hasValue()) { in Select()
132 const unsigned nfds = static_cast<unsigned>(*max_fd) + 1; in Select()
/freebsd-12.1/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c905 int max_fd = 0; in main() local
917 max_fd = max(max_fd, signal_fd); in main()
919 max_fd = max(max_fd, listen_fd); in main()
921 max_fd = max(max_fd, listen6_fd); in main()
927 max_fd = max(max_fd, p->fd); in main()
930 ret = select (max_fd + 1, in main()
/freebsd-12.1/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-12.1/crypto/openssh/
H A Dserverloop.c382 int max_fd; in server_loop2() local
401 max_fd = MAXIMUM(connection_in, connection_out); in server_loop2()
402 max_fd = MAXIMUM(max_fd, notify_pipe[0]); in server_loop2()
418 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms); in server_loop2()
H A Dssh-agent.c135 int max_fd = 0; variable
802 if (fd > max_fd) in new_socket()
803 max_fd = fd; in new_socket()
H A Dclientloop.c1228 int r, max_fd = 0, max_fd2 = 0, len; in client_loop() local
1273 max_fd = MAXIMUM(connection_in, connection_out); in client_loop()
1352 max_fd2 = max_fd; in client_loop()
/freebsd-12.1/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-12.1/contrib/ntp/parseutil/
H A Ddcfd.c1182 int max_fd; in detach()
1185 max_fd = sysconf(_SC_OPEN_MAX); in detach()
1187 max_fd = getdtablesize(); in detach()
1189 for (s = 0; s < max_fd; s++) in detach()
/freebsd-12.1/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-12.1/sbin/devd/
H A Ddevd.cc1030 int stream_fd, seqpacket_fd, max_fd; in event_loop() local
1041 max_fd = max(fd, max(stream_fd, seqpacket_fd)) + 1; in event_loop()
1089 rv = select(max_fd, &fds, NULL, NULL, &tv); in event_loop()
/freebsd-12.1/contrib/wpa/src/utils/
H A Deloop.c88 int max_fd; member
307 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock()
314 eloop.max_fd = next; in eloop_sock_table_add_sock()
/freebsd-12.1/crypto/openssl/apps/
H A Dspeed.c1283 OSSL_ASYNC_FD max_fd = 0; in run_benchmark()
1303 if (job_fd > max_fd) in run_benchmark()
1304 max_fd = job_fd; in run_benchmark()
1307 if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) { in run_benchmark()
1311 max_fd, FD_SETSIZE); in run_benchmark()
1317 select_result = select(max_fd + 1, &waitfdset, NULL, NULL, NULL); in run_benchmark()