Lines Matching refs:pfd
1342 struct pollfd pfd[3]; in cgi_io_loop_and_exit() local
1366 pfd[FROM_CGI].fd = fromCgi_rd; in cgi_io_loop_and_exit()
1367 pfd[FROM_CGI].events = POLLIN; in cgi_io_loop_and_exit()
1368 pfd[TO_CGI].fd = toCgi_wr; in cgi_io_loop_and_exit()
1373 pfd[0].fd = -1; in cgi_io_loop_and_exit()
1374 pfd[0].events = POLLIN; in cgi_io_loop_and_exit()
1375 pfd[0].revents = 0; /* probably not needed, paranoia */ in cgi_io_loop_and_exit()
1384 pfd[TO_CGI].events = POLLOUT; in cgi_io_loop_and_exit()
1385 pfd[TO_CGI].revents = 0; /* needed! */ in cgi_io_loop_and_exit()
1390 pfd[0].fd = 0; in cgi_io_loop_and_exit()
1402 count = safe_poll(pfd, hdr_cnt > 0 ? TO_CGI+1 : FROM_CGI+1, -1); in cgi_io_loop_and_exit()
1418 if (pfd[TO_CGI].revents) { in cgi_io_loop_and_exit()
1435 if (pfd[0].revents) { in cgi_io_loop_and_exit()
1453 if (pfd[FROM_CGI].revents) { in cgi_io_loop_and_exit()