Lines Matching refs:pfds
2044 struct pollfd pfds[NPFDS]; in proc_http() local
2078 memset(&pfds, 0, sizeof(pfds)); in proc_http()
2079 pfds[0].fd = fd; in proc_http()
2080 pfds[0].events = POLLIN; in proc_http()
2082 pfds[0].events |= POLLOUT; in proc_http()
2107 pfds[i].fd = conn->req->outfd; in proc_http()
2109 pfds[i].fd = conn->fd; in proc_http()
2111 pfds[i].events = conn->events; in proc_http()
2112 conn->pfd = &pfds[i]; in proc_http()
2127 pfds[i].fd = conn->fd; in proc_http()
2128 pfds[i].events = POLLIN; in proc_http()
2129 conn->pfd = &pfds[i]; in proc_http()
2133 if (poll(pfds, i, timeout) == -1) { in proc_http()
2139 if (pfds[0].revents & POLLHUP) in proc_http()
2141 if (pfds[0].revents & POLLOUT) { in proc_http()
2149 if (pfds[0].revents & POLLIN) { in proc_http()