Lines Matching refs:pfds
648 struct pollfd *pfds; in main() local
651 pfds = alloca(npfds * sizeof(struct pollfd)); in main()
654 pfds[0].fd = timerfd_create(CLOCK_MONOTONIC, 0); in main()
655 if (pfds[0].fd == -1) { in main()
659 pfds[0].events = POLLIN; in main()
661 pfds[0].fd = -1; in main()
664 snd_rawmidi_poll_descriptors(input, &pfds[1], npfds - 1); in main()
673 err = timerfd_settime(pfds[0].fd, 0, &itimerspec, NULL); in main()
686 err = poll(pfds, npfds, -1); in main()
699 err = snd_rawmidi_poll_descriptors_revents(input, &pfds[1], npfds - 1, &revents); in main()
707 if (pfds[0].revents & POLLIN) in main()
740 err = timerfd_settime(pfds[0].fd, 0, &itimerspec, NULL); in main()