Lines Matching refs:pfd
152 struct pollfd pfd[3]; in Curl_socket_check() local
189 pfd[num].fd = readfd0; in Curl_socket_check()
190 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
191 pfd[num].revents = 0; in Curl_socket_check()
195 pfd[num].fd = readfd1; in Curl_socket_check()
196 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
197 pfd[num].revents = 0; in Curl_socket_check()
201 pfd[num].fd = writefd; in Curl_socket_check()
202 pfd[num].events = POLLWRNORM|POLLOUT; in Curl_socket_check()
203 pfd[num].revents = 0; in Curl_socket_check()
212 r = poll(pfd, num, pending_ms); in Curl_socket_check()
235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
237 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) in Curl_socket_check()
242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
244 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) in Curl_socket_check()
249 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check()
251 if(pfd[num].revents & (POLLERR|POLLHUP|POLLNVAL)) in Curl_socket_check()