Searched refs:NFDBITS (Results 1 - 10 of 10) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | ntp_select.h | 23 # 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 D | fd_set.h | 93 #define NFDBITS __NFDBITS macro
|
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/ |
H A D | select.c | 69 #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 D | select.c | 70 #ifndef NFDBITS 71 #define NFDBITS (sizeof(fd_mask)*8) macro 79 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
|
/netbsd-current/sbin/routed/ |
H A D | main.c | 504 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 D | sys_select.c | 360 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 D | svc.c | 658 for (sock = 0; sock < maxsize; sock += NFDBITS) {
|
/netbsd-current/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 767 fdsn = howmany(sock + 1, NFDBITS) * sizeof(fd_mask);
|
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | socket.c | 4059 manager->fd_bufsize = howmany(manager->maxsocks, NFDBITS) *
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
H A D | socket.c | 3789 thread->fd_bufsize = howmany(manager->maxsocks, NFDBITS) *
|
Completed in 309 milliseconds