Searched refs:fd_count (Results 1 – 7 of 7) sorted by relevance
60 unsigned int fd_count; member108 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count && in grow_fd_sets()109 new_num_fds >= op->writeset_in->fd_count); in grow_fd_sets()133 if (set->fd_count == op->num_fds_in_fd_sets) { in do_fd_set()139 set->fd_array[set->fd_count] = s; in do_fd_set()141 ent->read_pos_plus1 = set->fd_count+1; in do_fd_set()143 ent->write_pos_plus1 = set->fd_count+1; in do_fd_set()144 return (set->fd_count++); in do_fd_set()162 if (--set->fd_count != (unsigned)i) { in do_fd_clear()165 s2 = set->fd_array[i] = set->fd_array[set->fd_count]; in do_fd_clear()[all …]
120 for (i = 0; i < pop->fd_count; ++i) { in poll_check_ok()
159 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \161 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \166 ((fd_set FAR *)(set))->fd_count--; \175 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \180 if (__i == ((fd_set FAR *)(set))->fd_count) { \181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \183 ((fd_set FAR *)(set))->fd_count++; \
62 int fd_count; /* Size of idxplus1_by_fd */ member123 for (i = 0; i < pop->fd_count; ++i) { in poll_check_ok()268 if (ev->ev_fd >= pop->fd_count) { in poll_add()271 if (pop->fd_count < 32) in poll_add()274 new_count = pop->fd_count * 2; in poll_add()284 memset(pop->idxplus1_by_fd + pop->fd_count, in poll_add()285 0, sizeof(int)*(new_count - pop->fd_count)); in poll_add()286 pop->fd_count = new_count; in poll_add()
276 fd_count(void) in fd_count() function308 numfd = fd_count(); in fd_init()