Lines Matching defs:pfds
650 struct pollfd *pfds;
653 pfds = alloca(npfds * sizeof(struct pollfd));
656 pfds[0].fd = timerfd_create(CLOCK_MONOTONIC, 0);
657 if (pfds[0].fd == -1) {
661 pfds[0].events = POLLIN;
663 pfds[0].fd = -1;
666 snd_rawmidi_poll_descriptors(input, &pfds[1], npfds - 1);
675 err = timerfd_settime(pfds[0].fd, 0, &itimerspec, NULL);
688 err = poll(pfds, npfds, -1);
701 err = snd_rawmidi_poll_descriptors_revents(input, &pfds[1], npfds - 1, &revents);
709 if (pfds[0].revents & POLLIN)
742 err = timerfd_settime(pfds[0].fd, 0, &itimerspec, NULL);