Home | History | Annotate | Download | only in observers

Lines Matching defs:fds

159     struct pollfd fds[2];
162 fds[0].fd = mUeventFd;
163 fds[0].events = POLLIN;
164 fds[0].revents = 0;
165 fds[1].fd = mExitRDFd;
166 fds[1].events = POLLIN;
167 fds[1].revents = 0;
168 nr = poll(fds, 2, -1);
170 if (nr > 0 && fds[0].revents == POLLIN) {
175 } else if (fds[1].revents) {