Searched refs:maxnfds (Results 1 – 3 of 3) sorted by relevance
87 ctx->maxnfds = 0; in evCreate()813 int i, maxnfds; in evPollfdRealloc() local816 if (fd < ctx->maxnfds) in evPollfdRealloc()823 maxnfds = (1 + (fd/pollfd_chunk_size)) * pollfd_chunk_size; in evPollfdRealloc()825 pollfds = realloc(ctx->pollfds, maxnfds * sizeof(*ctx->pollfds)); in evPollfdRealloc()828 fdTable = realloc(ctx->fdTable, maxnfds * sizeof(*ctx->fdTable)); in evPollfdRealloc()834 (long)maxnfds*sizeof(struct pollfd)); in evPollfdRealloc()838 for (i = ctx->maxnfds; i < maxnfds; i++) { in evPollfdRealloc()844 ctx->maxnfds = maxnfds; in evPollfdRealloc()
234 int maxnfds; /* # elements in above */ member
70 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx, 1, fd) != 0) in evSelectFD()