Home
last modified time | relevance | path

Searched refs:readsetp (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/ssh/sshd/
H A Dserverloop.c253 wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, in wait_until_can_do_something() argument
275 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, 0); in wait_until_can_do_something()
283 FD_SET(altprivsep_get_pipe_fd(), *readsetp); in wait_until_can_do_something()
290 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
298 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
305 FD_SET(fdout, *readsetp); in wait_until_can_do_something()
307 FD_SET(fderr, *readsetp); in wait_until_can_do_something()
316 notify_prepare(*readsetp); in wait_until_can_do_something()
342 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); in wait_until_can_do_something()
345 memset(*readsetp, 0, *nallocp); in wait_until_can_do_something()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dclientloop.c482 client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, in client_wait_until_can_do_something() argument
489 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); in client_wait_until_can_do_something()
496 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
502 FD_SET(fileno(stdin), *readsetp); in client_wait_until_can_do_something()
514 memset(*readsetp, 0, *nallocp); in client_wait_until_can_do_something()
518 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
539 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); in client_wait_until_can_do_something()
548 memset(*readsetp, 0, *nallocp); in client_wait_until_can_do_something()
/titanic_41/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c933 fd_set *readsetp = NULL, *writesetp = NULL; local
1177 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);
1178 result = select(max_fd + 1, readsetp, writesetp, NULL, tvp);
1188 after_select(readsetp, writesetp);
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dchannels.c1692 channel_prepare_select(fd_set **readsetp, fd_set **writesetp, int *maxfdp, in channel_prepare_select() argument
1702 if (*readsetp == NULL || sz > *nallocp) { in channel_prepare_select()
1703 *readsetp = xrealloc(*readsetp, sz); in channel_prepare_select()
1708 memset(*readsetp, 0, sz); in channel_prepare_select()
1712 channel_handler(channel_pre, *readsetp, *writesetp); in channel_prepare_select()