| /NextBSD/crypto/openssh/ |
| HD | serverloop.c | 563 int max_fd = 0; in server_loop() local 615 max_fd = MAX(connection_in, connection_out); in server_loop() 616 max_fd = MAX(max_fd, fdin); in server_loop() 617 max_fd = MAX(max_fd, fdout); in server_loop() 619 max_fd = MAX(max_fd, fderr); in server_loop() 702 max_fd = MAX(connection_in, connection_out); in server_loop() 703 max_fd = MAX(max_fd, fdin); in server_loop() 704 max_fd = MAX(max_fd, fdout); in server_loop() 705 max_fd = MAX(max_fd, fderr); in server_loop() 706 max_fd = MAX(max_fd, notify_pipe[0]); in server_loop() [all …]
|
| HD | clientloop.c | 1485 int max_fd = 0, max_fd2 = 0, len, rekeying = 0; in client_loop() local 1502 max_fd = MAX(connection_in, connection_out); in client_loop() 1512 max_fd = MAX(max_fd, fileno(stdin)); in client_loop() 1513 max_fd = MAX(max_fd, fileno(stdout)); in client_loop() 1514 max_fd = MAX(max_fd, fileno(stderr)); in client_loop() 1602 max_fd2 = max_fd; in client_loop() 1639 max_fd = MAX(max_fd, connection_out); in client_loop() 1640 max_fd = MAX(max_fd, connection_in); in client_loop()
|
| HD | ssh-agent.c | 122 int max_fd = 0; variable 820 if (fd > max_fd) in new_socket() 821 max_fd = fd; in new_socket() 1277 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); in main() 1278 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp); in main()
|
| /NextBSD/crypto/heimdal/lib/roken/ |
| HD | mini_inetd.c | 96 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()
|
| /NextBSD/contrib/amd/amd/ |
| HD | nfs_start.c | 69 static int max_fd = 0; in checkup() local 76 if (max_fd < next_fd) { in checkup() 78 next_fd - max_fd, next_fd); in checkup() 79 max_fd = next_fd; in checkup()
|
| /NextBSD/crypto/heimdal/kadmin/ |
| HD | kadm_conn.c | 177 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()
|
| /NextBSD/crypto/heimdal/lib/kadm5/ |
| HD | ipropd_master.c | 905 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()
|
| /NextBSD/contrib/ntp/libntp/ |
| HD | ntp_worker.c | 116 int max_fd; in close_all_beyond() 118 max_fd = GETDTABLESIZE(); in close_all_beyond() 119 for (fd = keep_fd + 1; fd < max_fd; fd++) in close_all_beyond()
|
| /NextBSD/crypto/heimdal/kdc/ |
| HD | connect.c | 856 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()
|
| /NextBSD/contrib/ntp/parseutil/ |
| HD | dcfd.c | 1182 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()
|
| /NextBSD/sbin/devd/ |
| HD | devd.cc | 962 int stream_fd, seqpacket_fd, max_fd; in event_loop() local 973 max_fd = max(fd, max(stream_fd, seqpacket_fd)) + 1; in event_loop() 1021 rv = select(max_fd, &fds, NULL, NULL, &tv); in event_loop()
|
| /NextBSD/crypto/heimdal/appl/rsh/ |
| HD | rshd.c | 412 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()
|