Lines Matching refs:POLLIN
77 pfd[0].events = POLLIN; in thd_entry_event_wait()
81 pfd[2].events = POLLIN; in thd_entry_event_wait()
86 if ((pfd[1].revents & POLLRDHUP) || (pfd[2].revents & POLLIN)) { in thd_entry_event_wait()
164 pfd[0].events = POLLIN; in async_io()
167 pfd[1].events = POLLIN; in async_io()
174 if (pfd[0].revents & POLLIN) { in async_io()
191 } else if ((num_pfds > 1 && pfd[1].revents & POLLIN)) { in async_io()
202 } while (!(pfd[0].revents & POLLIN)); in async_io()
237 pfd[0].events = POLLIN | POLLRDHUP; in readfd_io()
240 pfd[1].events = POLLIN; in readfd_io()
247 if (pfd[1].revents & POLLIN || pfd[0].revents & POLLRDHUP) in readfd_io()
251 if (!(pfd[0].revents & POLLIN)) in readfd_io()
280 pfd[1].events = POLLIN; in writefd_io()
287 if (pfd[1].revents & POLLIN || pfd[0].revents & POLLHUP) in writefd_io()
1298 pfd[0].events = POLLIN | POLLRDHUP; in read_line()
1301 pfd[1].events = POLLIN; in read_line()
1309 if (pfd[1].revents & POLLIN || in read_line()