Searched refs:pollfd (Results 1 – 4 of 4) sorted by relevance
185 struct pollfd pollfd = { read_fd_, POLLRDHUP, 0 }; in ReadUpToMax() local186 res = TEMP_FAILURE_RETRY(poll(&pollfd, /*nfds*/1, /*timeout*/0)); in ReadUpToMax()187 if (res < 0 || (pollfd.revents & POLLERR) == POLLERR) { in ReadUpToMax()191 return ((pollfd.revents & (POLLRDHUP | POLLHUP)) == 0) ? IOResult::kOk : IOResult::kEOF; in ReadUpToMax()202 struct pollfd pollfds[2]; in ReadFully()
567 struct pollfd pollfds[4] = { in RunPollLoop()586 const struct pollfd& agent_control_sock_poll = pollfds[1]; in RunPollLoop()587 const struct pollfd& control_sock_poll = pollfds[2]; in RunPollLoop()588 const struct pollfd& adb_socket_poll = pollfds[3]; in RunPollLoop()
171 struct pollfd read_fd{in, POLLIN, 0}; in Drain()
221 struct pollfd read_fd{in, POLLIN, 0}; in Drain()