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()
533 struct pollfd pollfds[4] = { in RunPollLoop()553 const struct pollfd& agent_control_sock_poll = pollfds[1]; in RunPollLoop()554 const struct pollfd& control_sock_poll = pollfds[2]; in RunPollLoop()555 const struct pollfd& adb_socket_poll = pollfds[3]; in RunPollLoop()
172 struct pollfd read_fd{in, POLLIN, 0}; in Drain()
218 struct pollfd read_fd{in, POLLIN, 0}; in Drain()