Lines Matching refs:nr_fds
1067 int nr_fds, nr_stdin, ret, err = -EINVAL; in kvm_events_live_report() local
1095 nr_fds = kvm->evlist->nr_fds; in kvm_events_live_report()
1096 pollfds = zalloc(sizeof(struct pollfd) * (nr_fds + 2)); in kvm_events_live_report()
1102 sizeof(struct pollfd) * kvm->evlist->nr_fds); in kvm_events_live_report()
1110 pollfds[nr_fds].fd = kvm->timerfd; in kvm_events_live_report()
1111 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1112 nr_fds++; in kvm_events_live_report()
1114 pollfds[nr_fds].fd = fileno(stdin); in kvm_events_live_report()
1115 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1116 nr_stdin = nr_fds; in kvm_events_live_report()
1117 nr_fds++; in kvm_events_live_report()
1139 err = poll(pollfds, nr_fds, 100); in kvm_events_live_report()