Lines Matching refs:pfd
256 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; in waitperform() local
264 pfd[i].events = 0; in waitperform()
265 pfd[i].revents = 0; in waitperform()
267 pfd[i].fd = socks[i]; in waitperform()
268 pfd[i].events |= POLLRDNORM|POLLIN; in waitperform()
271 pfd[i].fd = socks[i]; in waitperform()
272 pfd[i].events |= POLLWRNORM|POLLOUT; in waitperform()
274 if(pfd[i].events != 0) in waitperform()
281 nfds = Curl_poll(pfd, num, timeout_ms); in waitperform()
294 pfd[i].revents & (POLLRDNORM|POLLIN)? in waitperform()
295 pfd[i].fd:ARES_SOCKET_BAD, in waitperform()
296 pfd[i].revents & (POLLWRNORM|POLLOUT)? in waitperform()
297 pfd[i].fd:ARES_SOCKET_BAD); in waitperform()