Searched refs:maxnfds (Results 1 – 3 of 3) sorted by relevance
91 ctx->maxnfds = 0; in evCreate()815 int i, maxnfds; in evPollfdRealloc() local818 if (fd < ctx->maxnfds) in evPollfdRealloc()825 maxnfds = (1 + (fd/pollfd_chunk_size)) * pollfd_chunk_size; in evPollfdRealloc()827 pollfds = realloc(ctx->pollfds, maxnfds * sizeof(*ctx->pollfds)); in evPollfdRealloc()830 fdTable = realloc(ctx->fdTable, maxnfds * sizeof(*ctx->fdTable)); in evPollfdRealloc()836 (long)maxnfds*sizeof(struct pollfd)); in evPollfdRealloc()840 for (i = ctx->maxnfds; i < maxnfds; i++) { in evPollfdRealloc()846 ctx->maxnfds = maxnfds; in evPollfdRealloc()
234 int maxnfds; /* # elements in above */ member
74 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx, 1, fd) != 0) in evSelectFD()