Lines Matching refs:pfds
780 struct pollfd pfds[1] = {
814 poll(pfds, ARRAY_SIZE(pfds), /*timeout=*/100);
815 if (pfds[0].revents) {
951 * to -1. This removes it from the pfds array for subsequent
964 struct pollfd *pfds;
977 global_pfds = calloc(num_tests, sizeof(*pfds));
979 pfds = global_pfds;
981 if (!pfds || !pfd_indices) {
982 free(pfds);
1024 pfds[num_pfds].fd = child->process.err;
1025 pfds[num_pfds].events = POLLIN | POLLERR | POLLHUP | POLLNVAL;
1055 int pret = poll(pfds, num_pfds, 100);
1062 pfds[p].revents);