Home | History | Annotate | Download | only in perf

Lines Matching defs:pollfds

1066 	struct pollfd *pollfds = NULL;
1094 /* copy pollfds -- need to add timerfd and stdin */
1096 pollfds = zalloc(sizeof(struct pollfd) * (nr_fds + 2));
1097 if (!pollfds) {
1101 memcpy(pollfds, kvm->evlist->pollfd,
1110 pollfds[nr_fds].fd = kvm->timerfd;
1111 pollfds[nr_fds].events = POLLIN;
1114 pollfds[nr_fds].fd = fileno(stdin);
1115 pollfds[nr_fds].events = POLLIN;
1135 if (pollfds[nr_stdin].revents & POLLIN)
1139 err = poll(pollfds, nr_fds, 100);
1153 if (pollfds)
1154 free(pollfds);