Lines Matching refs:devices
47 Prioq *devices;
91 while ((device = prioq_pop(enumerator->devices)))
94 prioq_free(enumerator->devices);
293 * when creating those devices, and hence we should too when
319 /* md and dm devices are enumerated after all other devices */
334 r = prioq_ensure_allocated(&enumerator->devices, device_compare);
338 r = prioq_put(enumerator->devices, device, NULL);
506 /* this is necessarily racey, so ignore missing devices */
531 * All devices with a device node or network interfaces
536 * For now, we can only check these types of devices, we
538 * for all other types of devices.
653 /* this is necessarily racy, so ignore missing devices */
719 /* this is necessarily racy, so ignore missing devices */
785 log_debug("device-enumerate: max depth reached, %s: ignoring devices", child);
817 r = enumerator_scan_dir(enumerator, "subsystem", "devices", NULL);
823 k = enumerator_scan_dir(enumerator, "bus", "devices", NULL);
849 while ((device = prioq_pop(enumerator->devices)))
882 return prioq_peek(enumerator->devices);
892 sd_device_unref(prioq_pop(enumerator->devices));
894 return prioq_peek(enumerator->devices);
908 while ((device = prioq_pop(enumerator->devices)))
959 return prioq_peek(enumerator->devices);
969 sd_device_unref(prioq_pop(enumerator->devices));
971 return prioq_peek(enumerator->devices);
977 return prioq_peek(enumerator->devices);
983 sd_device_unref(prioq_pop(enumerator->devices));
985 return prioq_peek(enumerator->devices);