Home
last modified time | relevance | path

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

1234

/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/crypto/krb5/src/lib/rpc/
H A Dsvc.c56 #ifdef FD_SETSIZE
101 #ifdef FD_SETSIZE in xprt_register()
108 mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()
109 memset(xports, 0, FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()
111 if (sock < FD_SETSIZE) { in xprt_register()
135 #ifdef FD_SETSIZE in xprt_unregister()
136 if ((sock < FD_SETSIZE) && (xports[sock] == xprt)) { in xprt_unregister()
390 #ifdef FD_SETSIZE in svc_getreq()
408 #ifdef FD_SETSIZE
417 #ifndef FD_SETSIZE in svc_getreqset()
[all …]
H A Drpc_dtablesize.c60 #ifdef FD_SETSIZE in gssrpc__rpc_dtablesize()
61 if (size >= FD_SETSIZE) in gssrpc__rpc_dtablesize()
62 size = FD_SETSIZE-1; in gssrpc__rpc_dtablesize()
H A Dsvc_run.c48 #ifdef FD_SETSIZE in svc_run()
55 #ifdef FD_SETSIZE in svc_run()
H A Dsvc_tcp.c56 #ifndef FD_SETSIZE
231 #ifdef FD_SETSIZE in makefd_xprt()
232 if (fd >= FD_SETSIZE) { in makefd_xprt()
360 #ifdef FD_SETSIZE in readtcp()
370 #ifdef FD_SETSIZE in readtcp()
H A Drpc_commondata.c44 #ifdef FD_SETSIZE
H A Dpmap_clnt.c113 && tickle < FD_SETSIZE) { in pmap_set()
/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/crypto/krb5/src/util/verto/
H A Dev_select.c85 assert (("libev: fd >= FD_SETSIZE passed to fd_set-based select backend", fd < FD_SETSIZE)); in select_modify()
167 fd_setsize = anfdmax < FD_SETSIZE ? anfdmax : FD_SETSIZE; in select_poll()
/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/crypto/krb5/src/include/gssrpc/
H A Dsvc.h283 #ifdef FD_SETSIZE
293 #ifdef FD_SETSIZE
/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()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c55 if (fd != -1 && fd >= FD_SETSIZE) { in ppoll()
/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()

1234