Lines Matching refs:pollfd
370 struct pollfd *pollfd;
373 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
380 if (pollfd->revents) {
384 pollfd->revents = 0;
389 pollfd->events = (short) (u->sink->thread_info.state == PA_SINK_RUNNING ? POLLOUT : 0);
397 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
399 if (pollfd->revents & ~POLLOUT) {
421 struct pollfd *pollfd;
541 pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
542 pollfd->fd = u->fd;
543 pollfd->events = pollfd->revents = 0;