Home
last modified time | relevance | path

Searched refs:maxnfds (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c91 ctx->maxnfds = 0; in evCreate()
815 int i, maxnfds; in evPollfdRealloc() local
818 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()
H A Deventlib_p.h234 int maxnfds; /* # elements in above */ member
H A Dev_files.c74 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx, 1, fd) != 0) in evSelectFD()