Home
last modified time | relevance | path

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

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