Searched refs:fdMax (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c144 /* Update fdMax. */
145 if (fd > ctx->fdMax)
146 ctx->fdMax = fd;
250 if (del->fd == ctx->fdMax) {
251 ctx->fdMax = -1;
253 if (cur->fd > ctx->fdMax)
254 ctx->fdMax = cur->fd;
H A Deventlib.c105 ctx->fdMax = -1;
277 if ((options & EV_WAIT) != 0 && !nextTimer && ctx->fdMax == -1)
329 x = pselect(ctx->fdMax+1,
362 for (x = 0; x <= ctx->fdMax; x++) {
778 if (ctx != NULL && ctx->fdMax != -1) {
780 pnfds = ctx->fdMax - ctx->firstfd + 1;
790 for (e = 0, i = ctx->firstfd; i <= ctx->fdMax; i++) {
894 if (fd == ctx->fdMax)
895 while (ctx->fdMax > ctx->firstfd &&
896 ctx->pollfds[ctx->fdMax]
[all...]
H A Deventlib_p.h229 int fdMax, fdCount, highestFD; member in struct:__anon3880
236 int fdMax; /* Last active fd */ member in struct:__anon3880
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1832 int fdMax = 0, numReady; local
1836 mDNSPosixGetFDSet(m, &fdMax, &listenFDs, &timeout); // timeout may get modified
1837 if (fdMax < gMaxFD)
1838 fdMax = gMaxFD;
1840 numReady = select(fdMax + 1, &listenFDs, (fd_set*) NULL, (fd_set*) NULL, &timeout);

Completed in 78 milliseconds