Searched refs:NFDBITS (Results 1 – 3 of 3) sorted by relevance
137 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask (power of 2!)*/ macro141 #define FD_SET(n, p) (*(p) |= (1 << ((n) % NFDBITS)))142 #define FD_CLR(n, p) (*(p) &= ~(1 << ((n) % NFDBITS)))143 #define FD_ISSET(n, p) (*(p) & (1 << ((n) % NFDBITS)))
65 #undef NFDBITS66 #define NFDBITS (sizeof(long)*8) macro111 select_resize(sop, howmany(32 + 1, NFDBITS)*sizeof(fd_mask)); in select_init()218 n_events = (fdsz/sizeof(fd_mask)) * NFDBITS; in select_resize()219 n_events_old = (sop->event_fdsz/sizeof(fd_mask)) * NFDBITS; in select_resize()285 (howmany(ev->ev_fd + 1, NFDBITS) * sizeof(fd_mask))) in select_add()
179 #define NFDBITS __NFDBITS macro