Lines Matching defs:ipollfd
1779 struct usbi_pollfd *ipollfd;
1786 list_for_each_entry(ipollfd, &ctx->pollfds, list)
1794 list_for_each_entry(ipollfd, &ctx->pollfds, list) {
1795 struct libusb_pollfd *pollfd = &ipollfd->pollfd;
2186 struct usbi_pollfd *ipollfd = malloc(sizeof(*ipollfd));
2187 if (!ipollfd)
2191 ipollfd->pollfd.fd = fd;
2192 ipollfd->pollfd.events = events;
2194 list_add_tail(&ipollfd->list, &ctx->pollfds);
2205 struct usbi_pollfd *ipollfd;
2210 list_for_each_entry(ipollfd, &ctx->pollfds, list)
2211 if (ipollfd->pollfd.fd == fd) {
2222 list_del(&ipollfd->list);
2224 free(ipollfd);
2244 struct usbi_pollfd *ipollfd;
2250 list_for_each_entry(ipollfd, &ctx->pollfds, list)
2257 list_for_each_entry(ipollfd, &ctx->pollfds, list)
2258 ret[i++] = (struct libusb_pollfd *) ipollfd;