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

/macosx-10.10/rsync-45/rsync/
H A Dcleanup.c46 int max_fd; local
51 max_fd = sysconf(_SC_OPEN_MAX) - 1;
52 for (fd = max_fd; fd >= 0; fd--) {
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dmini_inetd.c96 rk_socket_t max_fd = (rk_socket_t)-1; local
138 max_fd = max(max_fd, fds[i]);
148 ret = select (max_fd + 1, &read_set, NULL, NULL, NULL);
/macosx-10.10/OpenSSH-189/openssh/
H A Dserverloop.c561 int max_fd = 0; local
612 /* Initialize max_fd to the maximum of the known file descriptors. */
613 max_fd = MAX(connection_in, connection_out);
614 max_fd = MAX(max_fd, fdin);
615 max_fd = MAX(max_fd, fdout);
617 max_fd = MAX(max_fd, fderr);
700 max_fd
828 int rekeying = 0, max_fd, nalloc = 0; local
[all...]
H A Dclientloop.c1552 int max_fd = 0, max_fd2 = 0, len, rekeying = 0; local
1569 max_fd = MAX(connection_in, connection_out);
1579 max_fd = MAX(max_fd, fileno(stdin));
1580 max_fd = MAX(max_fd, fileno(stdout));
1581 max_fd = MAX(max_fd, fileno(stderr));
1669 max_fd2 = max_fd;
1715 max_fd
[all...]
H A Dssh-agent.c131 int max_fd = 0; variable
978 if (fd > max_fd)
979 max_fd = fd;
1509 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);
1510 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp);
/macosx-10.10/Heimdal-398.1.2/kadmin/
H A Dkadm_conn.c177 int status, max_fd = -1; local
187 max_fd = max(max_fd, socks[i]);
203 e = select(max_fd + 1, &read_set, NULL, NULL, NULL);
/macosx-10.10/PowerManagement-494.1.2/caffeinate/
H A Dcaffeinate.c244 int fd, max_fd; local
273 max_fd = getdtablesize();
274 for (fd = STDERR_FILENO + 1; fd < max_fd; fd++) {
/macosx-10.10/Heimdal-398.1.2/lib/kadm5/
H A Dipropd_master.c858 int max_fd = 0; local
869 max_fd = max(max_fd, signal_fd);
871 max_fd = max(max_fd, listen_fd);
877 max_fd = max(max_fd, p->fd);
880 ret = select (max_fd + 1,
/macosx-10.10/curl-83.1.2/curl/include/curl/
H A Dmulti.h151 int *max_fd);
/macosx-10.10/ntp-92/ntpd/
H A Dntpd.c683 int max_fd; local
700 max_fd = sysconf(_SC_OPEN_MAX);
702 max_fd = getdtablesize();
704 for (s = 0; s < max_fd; s++)
/macosx-10.10/Heimdal-398.1.2/lib/krb5/
H A Dsend_to_kdc.c1048 set_fd_status(struct host *h, fd_set *rfds, fd_set *wfds, int *max_fd) argument
1066 if (h->fd > *max_fd)
1067 *max_fd = h->fd + 1;
1077 __block int max_fd = 0; local
1128 set_fd_status(h, &rfds, &wfds, &max_fd);
1135 if (max_fd == 0 && next_pending) {
1139 set_fd_status(next_pending, &rfds, &wfds, &max_fd);
1180 ret = select(max_fd + 1, &rfds, &wfds, NULL, &tv);
/macosx-10.10/Heimdal-398.1.2/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);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dmulti.c732 fd_set *exc_fd_set, int *max_fd)
775 *max_fd = this_max_fd;
730 curl_multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd) argument

Completed in 283 milliseconds