Lines Matching refs:pfds
56 struct pollfd pfds = {.fd = fd, .events = POLLIN}; in read() local
79 int count = TEMP_FAILURE_RETRY(poll(&pfds, 1, remainingTime)); in read()
88 if ((pfds.revents & POLLERR) != 0) { in read()
147 struct pollfd pfds[] = { in readProcessedDataInStream() local
185 int count = TEMP_FAILURE_RETRY(poll(pfds, 3, remainingTime)); in readProcessedDataInStream()
197 if ((pfds[i].revents & POLLERR) != 0) { in readProcessedDataInStream()
208 if (cirSize != BUFFER_SIZE && pfds[0].fd != -1) { in readProcessedDataInStream()
222 pfds[0].fd = -1; // reach EOF so don't have to poll pfds[0]. in readProcessedDataInStream()
230 if (cirSize > 0 && pfds[1].fd != -1) { in readProcessedDataInStream()
249 if (cirSize == 0 && pfds[0].fd == -1 && pfds[1].fd != -1) { in readProcessedDataInStream()
252 pfds[1].fd = -1; in readProcessedDataInStream()