Lines Matching refs:num_fds
336 int num_fds;
347 l->num_fds = 0;
360 l->num_fds = 0;
373 LoopHook* end = hook + l->num_fds;
395 for (n = 0; n < l->num_fds; n++) {
414 if (l->num_fds >= l->max_fds)
417 hook = l->hooks + l->num_fds;
432 l->num_fds += 1;
512 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 );
533 * and 'events' array, as well as l->num_fds, so be careful */
534 for (n = 0; n < l->num_fds; n++) {
544 for (n = 0; n < l->num_fds;) {
553 hook[0] = l->hooks[l->num_fds-1];
554 l->num_fds -= 1;