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

/freebsd-11-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-11-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-11-stable/contrib/amd/amd/
H A Dnfs_start.c64 static int max_fd = 0; local
71 if (max_fd < next_fd) {
73 next_fd - max_fd, next_fd);
74 max_fd = next_fd;
/freebsd-11-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-11-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-11-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-11-stable/crypto/openssh/
H A Dserverloop.c355 int max_fd; local
374 max_fd = MAXIMUM(connection_in, connection_out);
375 max_fd = MAXIMUM(max_fd, notify_pipe[0]);
392 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms);
H A Dclientloop.c1506 int r, max_fd = 0, max_fd2 = 0, len; local
1554 max_fd = MAXIMUM(connection_in, connection_out);
1564 max_fd = MAXIMUM(max_fd, fileno(stdin));
1565 max_fd = MAXIMUM(max_fd, fileno(stdout));
1566 max_fd = MAXIMUM(max_fd, fileno(stderr));
1659 max_fd2 = max_fd;
H A Dssh-agent.c130 int max_fd = 0; variable
1000 if (fd > max_fd)
1001 max_fd = fd;
1480 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);
1481 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp);
/freebsd-11-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-11-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-11-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-11-stable/sbin/devd/
H A Ddevd.cc980 int stream_fd, seqpacket_fd, max_fd; local
991 max_fd = max(fd, max(stream_fd, seqpacket_fd)) + 1;
1039 rv = select(max_fd, &fds, NULL, NULL, &tv);
/freebsd-11-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;

Completed in 303 milliseconds