Home | History | Annotate | Download | only in stress_iio

Lines Matching refs:pfd

301 	struct pollfd pfd[ARRAY_SIZE(event_file)];
307 pfd[i].fd = open(file_name, O_RDONLY | O_NONBLOCK);
308 pfd[i].events = POLLPRI|POLLERR;
309 pfd[i].revents = 0;
310 read(pfd[i].fd, d, 4);
313 poll(pfd, ARRAY_SIZE(event_file), -1);
315 close(pfd[i].fd);
318 for (i=0; i< ARRAY_SIZE(pfd); i++) {
319 if(pfd[i].revents != 0) {
761 struct pollfd pfd = {
765 poll(&pfd, 1, -1);