Searched refs:FD_SETSIZE (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-11-stable/contrib/ntp/include/
H A Dntif.h57 #ifdef FD_SETSIZE
58 #undef FD_SETSIZE macro
60 #define FD_SETSIZE 512 macro
H A Dntp_select.h22 # define FD_SETSIZE 32 macro
/freebsd-11-stable/lib/libc/rpc/
H A Drpc_dtablesize.c50 * descriptors be greater than FD_SETSIZE (which us 256 by default).
53 * for _select(), having this return > FD_SETSIZE is a Bad Idea(TM)!
62 if (size > FD_SETSIZE)
63 size = FD_SETSIZE;
H A Dsvc.c111 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *));
116 memset(__svc_xports, '\0', (FD_SETSIZE + 1) * sizeof(SVCXPRT *));
118 if (sock < FD_SETSIZE) {
122 } else if (sock == FD_SETSIZE)
153 if ((sock < FD_SETSIZE) && (__svc_xports[sock] == xprt)) {
161 } else if ((sock == FD_SETSIZE) && (__svc_xports[sock] == xprt))
604 for (sock = 0; sock < FD_SETSIZE; sock += NFDBITS) {
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dfdset.h22 #define SM_FD_SETSIZE FD_SETSIZE
/freebsd-11-stable/sys/sys/
H A Dselect.h55 * FD_SETSIZE may be defined by the user, but the default here should
58 #ifndef FD_SETSIZE
59 #define FD_SETSIZE 1024 macro
72 __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)];
90 _n = _howmany(FD_SETSIZE, _NFDBITS); \
/freebsd-11-stable/contrib/telnet/telnet/
H A Dfdset.h38 #ifndef FD_SETSIZE
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp96 // On windows FD_SETSIZE limits the number of file descriptors, not their
98 lldbassert(m_fd_map.size() <= FD_SETSIZE);
99 if (m_fd_map.size() > FD_SETSIZE)
111 lldbassert(fd < static_cast<int>(FD_SETSIZE));
112 if (fd >= static_cast<int>(FD_SETSIZE)) {
142 read_fdset.resize((nfds / FD_SETSIZE) + 1);
146 write_fdset.resize((nfds / FD_SETSIZE) + 1);
150 error_fdset.resize((nfds / FD_SETSIZE) + 1);
/freebsd-11-stable/contrib/libreadline/examples/
H A Dexcallback.c127 if( select(FD_SETSIZE, &fds, NULL, NULL, NULL) < 0) {
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c80 if (net >= FD_SETSIZE)
H A Dsys_bsd.c781 if (net >= FD_SETSIZE
782 || tout >= FD_SETSIZE
783 || tin >= FD_SETSIZE)
803 if ((c = select(FD_SETSIZE, &ibits, &obits, &xbits,
/freebsd-11-stable/crypto/openssl/crypto/rand/
H A Drand_unix.c133 # ifndef FD_SETSIZE
134 # define FD_SETSIZE (8*sizeof(fd_set)) macro
339 if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE) {
/freebsd-11-stable/crypto/openssl/apps/
H A Ds_apps.h133 # ifndef FD_SETSIZE
134 # define FD_SETSIZE MAX_NOFILE macro
135 # endif /* FD_SETSIZE */
/freebsd-11-stable/usr.sbin/rpc.ypupdated/
H A Dypupdated_main.c124 #ifdef FD_SETSIZE
128 #endif /* def FD_SETSIZE */
137 #ifdef FD_SETSIZE
141 #endif /* def FD_SETSIZE */
/freebsd-11-stable/usr.bin/rsh/
H A Drsh.c261 if (rem >= FD_SETSIZE)
293 if (rfd2 >= FD_SETSIZE || rem >= FD_SETSIZE)
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dselect.c18 /* POSIX defines 1024 for the FD_SETSIZE */
19 #define FD_SETSIZE 1024 macro
108 if (fd >= FD_SETSIZE) {
206 #ifdef FD_SETSIZE
207 if (size > FD_SETSIZE) {
272 if (fd >= FD_SETSIZE) {
H A Dpollset.c18 /* POSIX defines 1024 for the FD_SETSIZE */
19 #define FD_SETSIZE 1024 macro
/freebsd-11-stable/contrib/unbound/util/
H A Dmini_event.c107 #ifdef FD_SETSIZE
108 if((int)FD_SETSIZE < base->capfd)
109 base->capfd = (int)FD_SETSIZE;
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c51 if (fd >= FD_SETSIZE) {
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dkadm_conn.c182 #ifdef FD_SETSIZE
183 if (socks[i] >= FD_SETSIZE)
/freebsd-11-stable/contrib/amd/amd/
H A Dnfs_start.c169 nsel = select(FD_SETSIZE, &readfds, (fd_set *) NULL, (fd_set *) NULL, &tvv);
251 nsel = do_select(smask, FD_SETSIZE, &readfds, &tvv);
/freebsd-11-stable/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c127 #ifdef FD_SETSIZE
131 #endif /* def FD_SETSIZE */
140 #ifdef FD_SETSIZE
144 #endif /* def FD_SETSIZE */
/freebsd-11-stable/contrib/ntp/lib/isc/win32/include/isc/
H A Dnet.h181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
/freebsd-11-stable/bin/date/
H A Dnetdate.c139 found = select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dmini_inetd.c128 if (fds[i] >= FD_SETSIZE)

Completed in 225 milliseconds

123