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

/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_select.h23 # define NFDBITS 32 macro
25 # define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
26 # define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
27 # define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
/netbsd-current/sys/sys/
H A Dfd_set.h93 #define NFDBITS __NFDBITS macro
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/
H A Dselect.c69 #ifndef NFDBITS
70 #define NFDBITS (sizeof(fd_mask)*8) macro
78 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
/netbsd-current/external/bsd/libevent/dist/
H A Dselect.c70 #ifndef NFDBITS
71 #define NFDBITS (sizeof(fd_mask)*8) macro
79 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
/netbsd-current/sbin/routed/
H A Dmain.c504 ibitsp = (fd_set *)calloc(howmany(sock_max, NFDBITS),
508 memcpy(ibitsp, fdbitsp, howmany(sock_max, NFDBITS) *
585 fdbitsp = (fd_set *)calloc(howmany(sock_max, NFDBITS),
/netbsd-current/sys/kern/
H A Dsys_select.c360 char smallbits[howmany(FD_SETSIZE, NFDBITS) *
373 ni = howmany(nd, NFDBITS) * sizeof(fd_mask);
419 for (i = 0; i < nfd; i += NFDBITS) {
/netbsd-current/lib/libc/rpc/
H A Dsvc.c658 for (sock = 0; sock < maxsize; sock += NFDBITS) {
/netbsd-current/usr.sbin/traceroute6/
H A Dtraceroute6.c767 fdsn = howmany(sock + 1, NFDBITS) * sizeof(fd_mask);
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/
H A Dsocket.c4059 manager->fd_bufsize = howmany(manager->maxsocks, NFDBITS) *
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dsocket.c3789 thread->fd_bufsize = howmany(manager->maxsocks, NFDBITS) *

Completed in 309 milliseconds