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