Searched defs:enumerator (Results 1 - 2 of 2) sorted by relevance
/systemd/src/libudev/ |
H A D | libudev-enumerate.c | 35 #include "device-enumerator-private.h" 58 sd_device_enumerator *enumerator; member in struct:udev_enumerate 82 r = sd_device_enumerator_new(&udev_enumerate->enumerator); 88 r = sd_device_enumerator_allow_uninitialized(udev_enumerate->enumerator); 132 sd_device_enumerator_unref(udev_enumerate->enumerator); 169 FOREACH_DEVICE_AND_SUBSYSTEM(udev_enumerate->enumerator, device) { 203 return sd_device_enumerator_add_match_subsystem(udev_enumerate->enumerator, subsystem, true); 221 return sd_device_enumerator_add_match_subsystem(udev_enumerate->enumerator, subsystem, false); 240 return sd_device_enumerator_add_match_sysattr(udev_enumerate->enumerator, sysattr, value, true); 259 return sd_device_enumerator_add_match_sysattr(udev_enumerate->enumerator, sysatt [all...] |
/systemd/src/libsystemd/sd-device/ |
H A D | device-enumerator.c | 24 #include "device-enumerator-private.h" 62 _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *enumerator = NULL; 66 enumerator = new0(sd_device_enumerator, 1); 67 if (!enumerator) 70 enumerator->n_ref = 1; 71 enumerator->type = _DEVICE_ENUMERATION_TYPE_INVALID; 73 *ret = enumerator; 74 enumerator = NULL; 79 _public_ sd_device_enumerator *sd_device_enumerator_ref(sd_device_enumerator *enumerator) { argument 80 assert_return(enumerator, NUL 87 sd_device_enumerator_unref(sd_device_enumerator *enumerator) argument 111 sd_device_enumerator_add_match_subsystem(sd_device_enumerator *enumerator, const char *subsystem, int match) argument 136 sd_device_enumerator_add_match_sysattr(sd_device_enumerator *enumerator, const char *_sysattr, const char *_value, int match) argument 175 sd_device_enumerator_add_match_property(sd_device_enumerator *enumerator, const char *_property, const char *_value) argument 208 sd_device_enumerator_add_match_sysname(sd_device_enumerator *enumerator, const char *sysname) argument 227 sd_device_enumerator_add_match_tag(sd_device_enumerator *enumerator, const char *tag) argument 246 sd_device_enumerator_add_match_parent(sd_device_enumerator *enumerator, sd_device *parent) argument 258 sd_device_enumerator_allow_uninitialized(sd_device_enumerator *enumerator) argument 268 device_enumerator_add_match_is_initialized(sd_device_enumerator *enumerator) argument 328 device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device) argument 367 match_sysattr(sd_device_enumerator *enumerator, sd_device *device) argument 386 match_property(sd_device_enumerator *enumerator, sd_device *device) argument 418 match_tag(sd_device_enumerator *enumerator, sd_device *device) argument 432 match_parent(sd_device_enumerator *enumerator, sd_device *device) argument 451 match_sysname(sd_device_enumerator *enumerator, const char *sysname) argument 468 enumerator_scan_dir_and_add_devices(sd_device_enumerator *enumerator, const char *basedir, const char *subdir1, const char *subdir2) argument 565 match_subsystem(sd_device_enumerator *enumerator, const char *subsystem) argument 588 enumerator_scan_dir(sd_device_enumerator *enumerator, const char *basedir, const char *subdir, const char *subsystem) argument 619 enumerator_scan_devices_tag(sd_device_enumerator *enumerator, const char *tag) argument 696 enumerator_scan_devices_tags(sd_device_enumerator *enumerator) argument 712 parent_add_child(sd_device_enumerator *enumerator, const char *path) argument 753 parent_crawl_children(sd_device_enumerator *enumerator, const char *path, unsigned maxdepth) argument 791 enumerator_scan_devices_children(sd_device_enumerator *enumerator) argument 810 enumerator_scan_devices_all(sd_device_enumerator *enumerator) argument 839 device_enumerator_scan_devices(sd_device_enumerator *enumerator) argument 871 sd_device_enumerator_get_device_first(sd_device_enumerator *enumerator) argument 885 sd_device_enumerator_get_device_next(sd_device_enumerator *enumerator) argument 897 device_enumerator_scan_subsystems(sd_device_enumerator *enumerator) argument 948 sd_device_enumerator_get_subsystem_first(sd_device_enumerator *enumerator) argument 962 sd_device_enumerator_get_subsystem_next(sd_device_enumerator *enumerator) argument 974 device_enumerator_get_first(sd_device_enumerator *enumerator) argument 980 device_enumerator_get_next(sd_device_enumerator *enumerator) argument [all...] |
Completed in 1091 milliseconds