Lines Matching defs:npfds
2971 int npfds, err, err_poll;
2973 npfds = __snd_pcm_poll_descriptors_count(pcm);
2974 if (npfds <= 0 || npfds >= 16) {
2975 SNDERR("Invalid poll_fds %d", npfds);
2978 pfd = alloca(sizeof(*pfd) * npfds);
2979 err = __snd_pcm_poll_descriptors(pcm, pfd, npfds);
2982 if (err != npfds) {
2994 err_poll = poll(pfd, npfds, timeout);
3003 err = __snd_pcm_poll_revents(pcm, pfd, npfds, &revents);