Home
last modified time | relevance | path

Searched refs:FD_SETSIZE (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/lib/libc/tests/secure/
H A Dfortify_select_test.c179 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY()
200 const size_t __len = FD_SETSIZE; in ATF_TC_BODY()
221 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY()
273 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY()
296 const size_t __len = FD_SETSIZE; in ATF_TC_BODY()
319 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY()
373 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY()
394 const size_t __len = FD_SETSIZE; in ATF_TC_BODY()
415 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY()
467 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY()
[all …]
/freebsd/sys/sys/
H A Dselect.h64 #ifndef FD_SETSIZE
65 #define FD_SETSIZE 1024 macro
78 __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)];
94 if (idx >= FD_SETSIZE) in __fdset_idx()
116 _n = _howmany(FD_SETSIZE, _NFDBITS); \
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp98 lldbassert(m_fd_map.size() <= FD_SETSIZE); in Select()
99 if (m_fd_map.size() > FD_SETSIZE) in Select()
111 lldbassert(fd < static_cast<int>(FD_SETSIZE)); in Select()
112 if (fd >= static_cast<int>(FD_SETSIZE)) { in Select()
142 read_fdset.resize((nfds / FD_SETSIZE) + 1); in Select()
146 write_fdset.resize((nfds / FD_SETSIZE) + 1); in Select()
150 error_fdset.resize((nfds / FD_SETSIZE) + 1); in Select()
/freebsd/contrib/ntp/include/
H A Dntif.h57 #ifdef FD_SETSIZE
58 #undef FD_SETSIZE
60 #define FD_SETSIZE 512 macro
H A Dntp_select.h22 # define FD_SETSIZE 32 macro
/freebsd/lib/libc/rpc/
H A Drpc_dtablesize.c57 if (size > FD_SETSIZE) in _rpc_dtablesize()
58 size = FD_SETSIZE; in _rpc_dtablesize()
H A Dsvc.c106 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register()
111 memset(__svc_xports, '\0', (FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register()
113 if (sock < FD_SETSIZE) { in xprt_register()
117 } else if (sock == FD_SETSIZE) in xprt_register()
148 if ((sock < FD_SETSIZE) && (__svc_xports[sock] == xprt)) { in __xprt_do_unregister()
156 } else if ((sock == FD_SETSIZE) && (__svc_xports[sock] == xprt)) in __xprt_do_unregister()
599 for (sock = 0; sock < FD_SETSIZE; sock += NFDBITS) { in svc_getreqset()
/freebsd/usr.sbin/rpc.ypupdated/
H A Dypupdated_main.c124 #ifdef FD_SETSIZE in ypupdated_svc_run()
137 #ifdef FD_SETSIZE in ypupdated_svc_run()
/freebsd/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c127 #ifdef FD_SETSIZE in ypxfrd_svc_run()
140 #ifdef FD_SETSIZE in ypxfrd_svc_run()
/freebsd/contrib/telnet/telnet/
H A Dfdset.h38 #ifndef FD_SETSIZE
/freebsd/contrib/sendmail/include/sm/
H A Dfdset.h23 #define SM_FD_SETSIZE FD_SETSIZE
/freebsd/contrib/unbound/util/
H A Dmini_event.c107 #ifdef FD_SETSIZE in event_init()
108 if((int)FD_SETSIZE < base->capfd) in event_init()
109 base->capfd = (int)FD_SETSIZE; in event_init()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c779 if (net >= FD_SETSIZE in process_rings()
780 || tout >= FD_SETSIZE in process_rings()
781 || tin >= FD_SETSIZE) in process_rings()
801 if ((c = select(FD_SETSIZE, &ibits, &obits, &xbits, in process_rings()
H A Dnetwork.c80 if (net >= FD_SETSIZE) in stilloob()
/freebsd/crypto/heimdal/kadmin/
H A Dkadm_conn.c182 #ifdef FD_SETSIZE in wait_for_connection()
183 if (socks[i] >= FD_SETSIZE) in wait_for_connection()
/freebsd/crypto/heimdal/appl/rsh/
H A Drsh.c89 if (s >= FD_SETSIZE || (errsock != -1 && errsock >= FD_SETSIZE)) in rsh_loop()
493 if (errsock >= FD_SETSIZE || s >= FD_SETSIZE) in proto()
H A Drshd.c416 if(from0 >= FD_SETSIZE || from1 >= FD_SETSIZE || from2 >= FD_SETSIZE) in rshd_loop()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c55 if (fd != -1 && fd >= FD_SETSIZE) { in ppoll()
H A Dbsd-pselect.c66 fcntl(r, F_SETFD, FD_CLOEXEC) < 0 || r >= FD_SETSIZE) in pselect_notify_setup_fd()
/freebsd/crypto/heimdal/kdc/
H A Dconnect.c563 #ifdef FD_SETSIZE in add_new_tcp()
564 if (s >= FD_SETSIZE) { in add_new_tcp()
873 #ifdef FD_SETSIZE in loop()
874 if (max_fd >= FD_SETSIZE) in loop()
/freebsd/usr.sbin/ypserv/
H A Dyp_main.c132 #ifdef FD_SETSIZE in yp_svc_run()
144 #ifdef FD_SETSIZE in yp_svc_run()
/freebsd/crypto/heimdal/lib/roken/
H A Dmini_inetd.c128 if (fds[i] >= FD_SETSIZE) in mini_inetd_addrinfo()
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dnet.h181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
/freebsd/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c565 return (select (FD_SETSIZE, mask, NULL, NULL, &t)); in empty()
1681 if (fileno(cin) >= FD_SETSIZE) in proxtrans()
1711 if (fileno (cin) >= FD_SETSIZE) in reset()
1789 if (fileno (cin) >= FD_SETSIZE) in abort_remote()
1793 if (fileno (din) >= FD_SETSIZE) in abort_remote()
/freebsd/lib/libcasper/libcasper/
H A Dlibcasper_service.c261 assert(maxfd <= (int)FD_SETSIZE); in casper_main_loop()

123