Lines Matching refs:firstfd
92 ctx->firstfd = 0;
779 fds = &(ctx->pollfds[ctx->firstfd]);
780 pnfds = ctx->fdMax - ctx->firstfd + 1;
790 for (e = 0, i = ctx->firstfd; i <= ctx->fdMax; i++) {
895 while (ctx->fdMax > ctx->firstfd &&
898 if (fd == ctx->firstfd)
899 while (ctx->firstfd <= ctx->fdMax &&
900 ctx->pollfds[ctx->firstfd].fd < 0)
901 ctx->firstfd++;
905 if (ctx->firstfd > ctx->fdMax) {
907 ctx->firstfd = 0;
925 if (fd < ctx->firstfd || ctx->fdMax == -1)
926 ctx->firstfd = fd;