Lines Matching refs:num_fds
335 int num_fds;
346 l->num_fds = 0;
359 l->num_fds = 0;
372 LoopHook* end = hook + l->num_fds;
394 for (n = 0; n < l->num_fds; n++) {
413 if (l->num_fds >= l->max_fds)
416 hook = l->hooks + l->num_fds;
431 l->num_fds += 1;
511 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 );
532 * and 'events' array, as well as l->num_fds, so be careful */
533 for (n = 0; n < l->num_fds; n++) {
543 for (n = 0; n < l->num_fds;) {
552 hook[0] = l->hooks[l->num_fds-1];
553 l->num_fds -= 1;