Lines Matching full:pfd
378 HANDLE pfd[2]; in run_ssl_engine() local
381 struct pollfd pfd[3]; in run_ssl_engine() local
509 pfd[u] = (HANDLE)fd_event; in run_ssl_engine()
513 pfd[u] = h_in; in run_ssl_engine()
517 wt = WaitForMultipleObjectsEx(u, pfd, in run_ssl_engine()
549 pfd[u].fd = fd; in run_ssl_engine()
550 pfd[u].revents = 0; in run_ssl_engine()
551 pfd[u].events = 0; in run_ssl_engine()
553 pfd[u].events |= POLLOUT; in run_ssl_engine()
556 pfd[u].events |= POLLIN; in run_ssl_engine()
562 pfd[u].fd = 0; in run_ssl_engine()
563 pfd[u].revents = 0; in run_ssl_engine()
564 pfd[u].events = POLLIN; in run_ssl_engine()
569 pfd[u].fd = 1; in run_ssl_engine()
570 pfd[u].revents = 0; in run_ssl_engine()
571 pfd[u].events = POLLOUT; in run_ssl_engine()
575 n = poll(pfd, u, -1); in run_ssl_engine()
594 if (pfd[u].revents & (POLLERR | POLLHUP)) { in run_ssl_engine()
595 pfd[u].revents |= POLLIN | POLLOUT; in run_ssl_engine()
599 recvapp_ok = recvapp && (pfd[k_out].revents & POLLOUT) != 0; in run_ssl_engine()
600 sendrec_ok = sendrec && (pfd[k_fd].revents & POLLOUT) != 0; in run_ssl_engine()
601 recvrec_ok = recvrec && (pfd[k_fd].revents & POLLIN) != 0; in run_ssl_engine()
602 sendapp_ok = sendapp && (pfd[k_in].revents & POLLIN) != 0; in run_ssl_engine()