Lines Matching refs:pfd
190 struct pollfd pfd[3]; in Curl_socket_check() local
207 pfd[num].fd = readfd0; in Curl_socket_check()
208 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
209 pfd[num].revents = 0; in Curl_socket_check()
213 pfd[num].fd = readfd1; in Curl_socket_check()
214 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
215 pfd[num].revents = 0; in Curl_socket_check()
219 pfd[num].fd = writefd; in Curl_socket_check()
220 pfd[num].events = POLLWRNORM|POLLOUT|POLLPRI; in Curl_socket_check()
221 pfd[num].revents = 0; in Curl_socket_check()
225 r = Curl_poll(pfd, (unsigned int)num, timeout_ms); in Curl_socket_check()
232 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
234 if(pfd[num].revents & (POLLPRI|POLLNVAL)) in Curl_socket_check()
239 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
241 if(pfd[num].revents & (POLLPRI|POLLNVAL)) in Curl_socket_check()
246 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check()
248 if(pfd[num].revents & (POLLERR|POLLHUP|POLLPRI|POLLNVAL)) in Curl_socket_check()