Lines Matching defs:pollfd
594 struct pollfd pollfd[2];
600 pollfd[0].fd = uffd;
601 pollfd[0].events = POLLIN;
602 pollfd[1].fd = pipefd[cpu*2];
603 pollfd[1].events = POLLIN;
606 ret = poll(pollfd, 2, -1);
615 if (pollfd[1].revents & POLLIN) {
616 if (read(pollfd[1].fd, &tmp_chr, 1) != 1) {
622 if (!(pollfd[0].revents & POLLIN)) {
623 fprintf(stderr, "pollfd[0].revents %d\n",
624 pollfd[0].revents);
640 pollfd[0].fd = uffd;