Lines Matching refs:pollfd
134 struct pollfd *pollfd;
136 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
139 if (u->source->thread_info.state == PA_SOURCE_RUNNING && pollfd->revents) {
174 pollfd->revents = 0;
179 pollfd->events = (short) (u->source->thread_info.state == PA_SOURCE_RUNNING ? POLLIN : 0);
187 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
189 if (pollfd->revents & ~POLLIN) {
211 struct pollfd *pollfd;
299 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
300 pollfd->fd = u->fd;
301 pollfd->events = pollfd->revents = 0;