Searched refs:ievent_source (Results 1 – 3 of 3) sorted by relevance
191 struct usbi_event_source *ievent_source; in usbi_alloc_event_data() local201 for_each_event_source(ctx, ievent_source) in usbi_alloc_event_data()208 for_each_event_source(ctx, ievent_source) { in usbi_alloc_event_data()209 fds[i].fd = ievent_source->data.os_handle; in usbi_alloc_event_data()210 fds[i].events = ievent_source->data.poll_events; in usbi_alloc_event_data()270 struct usbi_event_source *ievent_source; in usbi_wait_for_events() local272 for_each_removed_event_source(ctx, ievent_source) { in usbi_wait_for_events()276 if (ievent_source->data.os_handle != fds[n].fd) in usbi_wait_for_events()
131 struct usbi_event_source *ievent_source; in usbi_alloc_event_data() local144 for_each_event_source(ctx, ievent_source) in usbi_alloc_event_data()158 for_each_event_source(ctx, ievent_source) { in usbi_alloc_event_data()159 handles[i] = ievent_source->data.os_handle; in usbi_alloc_event_data()
1214 struct usbi_event_source *ievent_source, *tmp; in cleanup_removed_event_sources() local1216 for_each_removed_event_source_safe(ctx, ievent_source, tmp) { in cleanup_removed_event_sources()1217 list_del(&ievent_source->list); in cleanup_removed_event_sources()1218 free(ievent_source); in cleanup_removed_event_sources()2654 struct usbi_event_source *ievent_source = malloc(sizeof(*ievent_source)); in usbi_add_event_source() local2656 if (!ievent_source) in usbi_add_event_source()2660 ievent_source->data.os_handle = os_handle; in usbi_add_event_source()2661 ievent_source->data.poll_events = poll_events; in usbi_add_event_source()2663 list_add_tail(&ievent_source->list, &ctx->event_sources); in usbi_add_event_source()2678 struct usbi_event_source *ievent_source; in usbi_remove_event_source() local[all …]