Searched refs:fd_mask (Results 1 – 4 of 4) sorted by relevance
22 typedef __haiku_uint32 fd_mask; typedef24 #define NFDBITS (sizeof(fd_mask) * 8) /* bits per mask */27 fd_mask bits[((FD_SETSIZE) + ((NFDBITS) - 1)) / (NFDBITS)];
100 uint32 bytes = HOWMANY(count, NFDBITS) * sizeof(fd_mask); in SelectTraceEntry()359 memset(set, 0, HOWMANY(numFDs, NFDBITS) * sizeof(fd_mask)); in fd_zero()961 uint32 bytes = HOWMANY(numFDs, NFDBITS) * sizeof(fd_mask); in _user_select()
1256 if ((fdsp = malloc(nfds * sizeof(fd_mask))) == NULL) in wait_for_reply()1258 memset(fdsp, 0, nfds * sizeof(fd_mask)); in wait_for_reply()
860 tmp = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in process_rings()