Lines Matching defs:ipollfd
1928 struct usbi_pollfd *ipollfd;
1935 list_for_each_entry(ipollfd, &ctx->pollfds, list, struct usbi_pollfd)
1946 list_for_each_entry(ipollfd, &ctx->pollfds, list, struct usbi_pollfd) {
1947 struct libusb_pollfd *pollfd = &ipollfd->pollfd;
2424 struct usbi_pollfd *ipollfd = malloc(sizeof(*ipollfd));
2425 if (!ipollfd)
2429 ipollfd->pollfd.fd = fd;
2430 ipollfd->pollfd.events = events;
2432 list_add_tail(&ipollfd->list, &ctx->pollfds);
2443 struct usbi_pollfd *ipollfd;
2448 list_for_each_entry(ipollfd, &ctx->pollfds, list, struct usbi_pollfd)
2449 if (ipollfd->pollfd.fd == fd) {
2460 list_del(&ipollfd->list);
2462 free(ipollfd);
2488 struct usbi_pollfd *ipollfd;
2494 list_for_each_entry(ipollfd, &ctx->pollfds, list, struct usbi_pollfd)
2501 list_for_each_entry(ipollfd, &ctx->pollfds, list, struct usbi_pollfd)
2502 ret[i++] = (struct libusb_pollfd *) ipollfd;