Home | History | Annotate | Download | only in httpd

Lines Matching refs:fds

152 	httpd->fds = bozomalloc(httpd, httpd->nsock * sizeof(*httpd->fds));
165 httpd->fds[i].events = POLLIN | POLLPRI | POLLRDNORM |
167 httpd->fds[i].fd = httpd->sock[i];
214 if ((httpd->fds[idx].revents & (POLLNVAL|POLLERR|POLLHUP)) == 0)
218 httpd->fds[idx].fd, getpid(), httpd->fds[idx].revents,
229 memmove(&httpd->fds[idx], &httpd->fds[idx+1],
230 (httpd->nsock - idx) * sizeof(*httpd->fds));
275 if (poll(httpd->fds, (unsigned)httpd->nsock, INFTIM) == -1) {
293 if (httpd->fds[i].revents == 0)
297 fd = accept(httpd->fds[i].fd,