Lines Matching refs:maxactivefd
202 static int maxactivefd; variable
379 maxactivefd = max(fd, maxactivefd); in maintain_activefds()
382 if (maxactivefd && fd == maxactivefd) { in maintain_activefds()
383 for (i = maxactivefd - 1; i >= 0; i--) in maintain_activefds()
385 maxactivefd = i; in maintain_activefds()
388 INSIST(fd != maxactivefd); in maintain_activefds()
518 DPRINTF(3, ("io_open_sockets: maxactivefd %d\n", maxactivefd)); in io_open_sockets()
2028 maxactivefd = 0; in create_sockets()
3681 nfound = select(maxactivefd + 1, &rdfdes, NULL,
3689 nfound = select(maxactivefd + 1,
3699 nfound = select(maxactivefd + 1,
3749 n = select(maxactivefd + 1, &fds, NULL, NULL, &tvzero);
3753 n = select(maxactivefd + 1, &fds, NULL, NULL, &tvzero);
3780 maxactivefd + 1,
3781 fdbits(maxactivefd, &activefds));
3789 for (j = 0, maxscan = 0; j <= maxactivefd; j++) {
3803 if (maxactivefd != maxscan)
3804 maxactivefd = maxscan;
4534 maxactivefd = 0;