Searched refs:hotplug_devs (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/lib/libusb/
H A Dlibusb10_hotplug.c109 struct libusb_device_head hotplug_devs; local
123 TAILQ_INIT(&hotplug_devs);
126 if (libusb_hotplug_enumerate(ctx, &hotplug_devs) < 0) {
135 TAILQ_FOREACH_SAFE(adev, &ctx->hotplug_devs, hotplug_entry, temp) {
136 TAILQ_FOREACH(bdev, &hotplug_devs, hotplug_entry) {
141 TAILQ_REMOVE(&ctx->hotplug_devs, adev, hotplug_entry);
154 TAILQ_FOREACH_SAFE(adev, &hotplug_devs, hotplug_entry, temp) {
155 TAILQ_FOREACH(bdev, &ctx->hotplug_devs, hotplug_entry) {
160 TAILQ_REMOVE(&hotplug_devs, adev, hotplug_entry);
161 TAILQ_INSERT_TAIL(&ctx->hotplug_devs, ade
[all...]
H A Dlibusb10.h109 struct libusb_device_head hotplug_devs; member in struct:libusb_context
H A Dlibusb10.c166 TAILQ_INIT(&ctx->hotplug_devs);

Completed in 178 milliseconds