Lines Matching refs:pfd
319 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; in waitperform() local
327 pfd[i].events = 0; in waitperform()
328 pfd[i].revents = 0; in waitperform()
330 pfd[i].fd = socks[i]; in waitperform()
331 pfd[i].events |= POLLRDNORM|POLLIN; in waitperform()
334 pfd[i].fd = socks[i]; in waitperform()
335 pfd[i].events |= POLLWRNORM|POLLOUT; in waitperform()
337 if(pfd[i].events) in waitperform()
344 nfds = Curl_poll(pfd, (unsigned int)num, timeout_ms); in waitperform()
360 (pfd[i].revents & (POLLRDNORM|POLLIN)) ? in waitperform()
361 pfd[i].fd : ARES_SOCKET_BAD, in waitperform()
362 (pfd[i].revents & (POLLWRNORM|POLLOUT)) ? in waitperform()
363 pfd[i].fd : ARES_SOCKET_BAD); in waitperform()