Searched refs:max_fd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | serverloop.c | 512 int max_fd = 0, nalloc = 0; in server_loop() local 557 max_fd = MAX(connection_in, connection_out); in server_loop() 558 max_fd = MAX(max_fd, fdin); in server_loop() 559 max_fd = MAX(max_fd, fdout); in server_loop() 561 max_fd = MAX(max_fd, fderr); in server_loop() 644 max_fd = MAX(connection_in, connection_out); in server_loop() 645 max_fd = MAX(max_fd, fdin); in server_loop() 646 max_fd = MAX(max_fd, fdout); in server_loop() 647 max_fd = MAX(max_fd, fderr); in server_loop() 648 max_fd = MAX(max_fd, notify_pipe[0]); in server_loop() [all …]
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.c | 1222 static int max_fd = 0; /* The maximum descriptor in fdinuse */ variable 1370 for (f = 3; f <= max_fd; f++) { in closem() 1377 max_fd = 0; in closem() 1422 if (fd > max_fd) in setfd() 1423 max_fd = fd; in setfd() 1443 if (fd == max_fd) { in unsetfd() 1444 for (i = max_fd-1; i >= 3; i--) in unsetfd() 1446 max_fd = i; in unsetfd() 1449 max_fd = 0; in unsetfd()
|
/titanic_41/usr/src/cmd/ssh/ssh/ |
H A D | clientloop.c | 1090 int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0; in client_loop() local 1105 max_fd = MAX(connection_in, connection_out); in client_loop() 1115 max_fd = MAX(max_fd, fileno(stdin)); in client_loop() 1116 max_fd = MAX(max_fd, fileno(stdout)); in client_loop() 1117 max_fd = MAX(max_fd, fileno(stderr)); in client_loop() 1202 max_fd2 = max_fd; in client_loop()
|
/titanic_41/usr/src/cmd/ssh/ssh-agent/ |
H A D | ssh-agent.c | 97 int max_fd = 0; variable 694 if (fd > max_fd) in new_socket() 695 max_fd = fd; in new_socket() 1177 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); 1178 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp);
|
/titanic_41/usr/src/lib/libtecla/common/ |
H A D | getline.c | 515 int max_fd; /* The maximum file-descriptor being watched */ member 1872 gl->max_fd = 0; in new_GetLine() 5916 if(gl->input_fd > gl->max_fd) in _gl_change_terminal() 5917 gl->max_fd = gl->input_fd; in _gl_change_terminal() 6633 if(fileno(gl->file_fp) > gl->max_fd) in KT_KEY_FN() 6634 gl->max_fd = fileno(gl->file_fp); in KT_KEY_FN() 8828 if(fd > gl->max_fd) 8829 gl->max_fd = fd; 8979 nready = select(gl->max_fd+1, &rfds, &wfds, &ufds, in gl_event_handler()
|