Searched refs:maxfd (Results 1 - 10 of 10) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-keyscan/
H A Dssh-keyscan.c58 int maxfd; variable
59 #define MAXCON (maxfd - 10)
443 if (s >= maxfd)
469 if (s >= maxfd || fdcon[s].c_status == CS_UNUSED)
638 while (select(maxfd, r, NULL, e, &seltime) == -1 &&
642 for (i = 0; i < maxfd; i++) {
794 maxfd = fdlim_get(1);
795 if (maxfd < 0)
797 if (maxfd > MAXMAXFD)
798 maxfd
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/
H A Dumount.c572 int maxfd = OPEN_MAX; local
597 maxfd = (int)rl.rlim_cur;
605 maxfd = (maxfd / 2) - 6; /* 6 takes care of temporary */
607 if (maxfd < maxrun)
608 maxrun = maxfd;
H A Dmount.c911 int maxfd = OPEN_MAX; local
929 maxfd = (int)rl.rlim_cur;
937 maxfd = (maxfd / 2) - 6; /* 6 takes care of temporary */
939 if (maxfd < maxrun)
940 maxrun = maxfd;
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dsshd.c833 int listen_sock, maxfd; local
1300 maxfd = 0;
1302 if (listen_socks[i] > maxfd)
1303 maxfd = listen_socks[i];
1318 fdsetsz = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask);
1329 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1389 if (maxfd < startup_p[0])
1390 maxfd = startup_p[0];
/opensolaris-onvv-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c110 int minfd, maxfd, modoff, error = 0; local
142 maxfd = (uiop->uio_offset + uiop->uio_resid - 1)/FDSDSIZE;
147 for (i = minfd; i < MIN(maxfd, nentries); i++) {
/opensolaris-onvv-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c1543 int i, rc, maxfd = 0; local
1571 if ( fds[i].lpoll_fd >= maxfd ) {
1572 maxfd = fds[i].lpoll_fd;
1579 ++maxfd;
1587 rc = iofns->liof_select( maxfd, &readfds, &writefds, NULL, tvp );
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c126 int maxfd; local
188 maxfd = va_arg(args, int);
190 for (i = 0; i < maxfd; i++) {
/opensolaris-onvv-gate/usr/src/cmd/sendmail/src/
H A Dutil.c1699 int maxfd; local
1707 maxfd = BITMAPBITS;
1709 maxfd = DtableSize;
1713 for (fd = 0; fd < maxfd; fd++)
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_handlers.c181 int maxfd; local
198 maxfd = max(pout[0], perr[0]) + 1;
199 (void) select(maxfd, &rset, NULL, NULL, NULL);
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dfio.c331 * Increase size of the fi_list array to accommodate at least maxfd.
335 flist_grow(int maxfd) argument
342 for (newcnt = 1; newcnt <= maxfd; newcnt = (newcnt << 1) | 1)

Completed in 204 milliseconds