Searched refs:max_fd (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dmini_inetd.c96 rk_socket_t max_fd = (rk_socket_t)-1; local
132 max_fd = max(max_fd, fds[i]);
142 ret = select (max_fd + 1, &read_set, NULL, NULL, NULL);
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Dkadm_conn.c177 int status, max_fd = -1; local
187 max_fd = max(max_fd, socks[i]);
201 e = select(max_fd + 1, &read_set, NULL, NULL, NULL);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp106 llvm::Optional<lldb::socket_t> max_fd; local
123 updateMaxFd(max_fd, fd);
126 if (!max_fd.hasValue()) {
131 const unsigned nfds = static_cast<unsigned>(*max_fd) + 1;
/freebsd-13-stable/contrib/ntp/libntp/
H A Dntp_worker.c118 int max_fd;
120 max_fd = GETDTABLESIZE();
121 for (fd = keep_fd + 1; fd < max_fd; fd++)
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c905 int max_fd = 0; local
917 max_fd = max(max_fd, signal_fd);
919 max_fd = max(max_fd, listen_fd);
921 max_fd = max(max_fd, listen6_fd);
927 max_fd = max(max_fd, p->fd);
930 ret = select (max_fd
[all...]
/freebsd-13-stable/crypto/openssh/
H A Dserverloop.c382 int max_fd; local
401 max_fd = MAXIMUM(connection_in, connection_out);
402 max_fd = MAXIMUM(max_fd, notify_pipe[0]);
418 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms);
H A Dssh-agent.c135 int max_fd = 0; variable
802 if (fd > max_fd)
803 max_fd = fd;
H A Dclientloop.c1241 int r, max_fd = 0, max_fd2 = 0, len; local
1286 max_fd = MAXIMUM(connection_in, connection_out);
1365 max_fd2 = max_fd;
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dconnect.c856 int max_fd = 0; local
871 if(max_fd < d[i].s)
872 max_fd = d[i].s;
874 if (max_fd >= FD_SETSIZE)
900 switch(select(max_fd + 1, &fds, 0, 0, &tmout)){
/freebsd-13-stable/contrib/ntp/parseutil/
H A Ddcfd.c1182 int max_fd;
1185 max_fd = sysconf(_SC_OPEN_MAX);
1187 max_fd = getdtablesize();
1189 for (s = 0; s < max_fd; s++)
/freebsd-13-stable/crypto/heimdal/appl/rsh/
H A Drshd.c412 int max_fd; local
428 max_fd = max(from0, max(from1, from2)) + 1;
438 ret = select (max_fd, &readset, NULL, NULL, NULL);
/freebsd-13-stable/sbin/devd/
H A Ddevd.cc1029 int stream_fd, seqpacket_fd, max_fd; local
1040 max_fd = max(fd, max(stream_fd, seqpacket_fd)) + 1;
1088 rv = select(max_fd, &fds, NULL, NULL, &tv);
/freebsd-13-stable/contrib/wpa/src/utils/
H A Deloop.c88 int max_fd; member in struct:eloop_data
307 if (new_max_sock >= eloop.max_fd) {
314 eloop.max_fd = next;
/freebsd-13-stable/crypto/openssl/apps/
H A Dspeed.c1281 OSSL_ASYNC_FD max_fd = 0;
1301 if (job_fd > max_fd)
1302 max_fd = job_fd;
1305 if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) {
1307 "Error: max_fd (%d) must be smaller than FD_SETSIZE (%d). "
1309 max_fd, FD_SETSIZE);
1315 select_result = select(max_fd + 1, &waitfdset, NULL, NULL, NULL);

Completed in 240 milliseconds