Lines Matching refs:revents
936 if (pfd[n].revents & (POLLERR|POLLNVAL)) { in readwrite()
942 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()
943 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()
947 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
948 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite()
951 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()
957 if (pfd[POLL_STDOUT].revents & POLLHUP) in readwrite()
970 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
984 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
997 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite()
1019 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite()