Home | History | Annotate | Download | only in avahi-common

Lines Matching defs:pollfds

68     struct pollfd* pollfds;
179 w->simple_poll->pollfds[w->idx] = w->pollfd;
189 return w->simple_poll->pollfds[w->idx].revents;
343 s->pollfds = NULL;
374 avahi_free(s->pollfds);
396 if (!(n = avahi_realloc(s->pollfds, sizeof(struct pollfd) * s->max_pollfds)))
399 s->pollfds = n;
403 s->pollfds[0].fd = s->wakeup_pipe[0];
404 s->pollfds[0].events = POLLIN;
405 s->pollfds[0].revents = 0;
415 s->pollfds[w->idx = idx++] = w->pollfd;
473 /* Do we need to rebuild our array of pollfds? */
527 if (s->poll_func(s->pollfds, s->n_pollfds, s->prepared_timeout, s->poll_func_userdata) < 0) {
584 if (s->pollfds[w->idx].revents != 0) {
585 w->callback(w, w->pollfd.fd, s->pollfds[w->idx].revents, w->userdata);