Searched refs:udev_enum (Results 1 – 3 of 3) sorted by relevance
168 struct udev_enumerate *udev_enum; in __wrap_udev_enumerate_new() local171 if ((udev_enum = calloc(1, sizeof(*udev_enum))) == NULL) in __wrap_udev_enumerate_new()173 udev_enum->magic = UDEV_ENUM_MAGIC; in __wrap_udev_enumerate_new()175 return udev_enum; in __wrap_udev_enumerate_new()179 __wrap_udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enum, in __wrap_udev_enumerate_add_match_subsystem() argument182 ASSERT_UDEV_ENUM(udev_enum); in __wrap_udev_enumerate_add_match_subsystem()188 __wrap_udev_enumerate_scan_devices(struct udev_enumerate *udev_enum) in __wrap_udev_enumerate_scan_devices() argument190 ASSERT_UDEV_ENUM(udev_enum); in __wrap_udev_enumerate_scan_devices()195 __wrap_udev_enumerate_get_list_entry(struct udev_enumerate *udev_enum) in __wrap_udev_enumerate_get_list_entry() argument197 ASSERT_UDEV_ENUM(udev_enum); in __wrap_udev_enumerate_get_list_entry()[all …]
192 struct udev_enumerate *udev_enum = NULL; in fido_hid_manifest() local206 (udev_enum = udev_enumerate_new(udev)) == NULL) in fido_hid_manifest()209 if (udev_enumerate_add_match_subsystem(udev_enum, "hidraw") < 0 || in fido_hid_manifest()210 udev_enumerate_scan_devices(udev_enum) < 0) in fido_hid_manifest()213 if ((udev_list = udev_enumerate_get_list_entry(udev_enum)) == NULL) { in fido_hid_manifest()233 if (udev_enum != NULL) in fido_hid_manifest()234 udev_enumerate_unref(udev_enum); in fido_hid_manifest()
137 struct udev_enumerate *udev_enum = NULL; in fido_nfc_manifest() local151 (udev_enum = udev_enumerate_new(udev)) == NULL) in fido_nfc_manifest()154 if (udev_enumerate_add_match_subsystem(udev_enum, "nfc") < 0 || in fido_nfc_manifest()155 udev_enumerate_scan_devices(udev_enum) < 0) in fido_nfc_manifest()158 if ((udev_list = udev_enumerate_get_list_entry(udev_enum)) == NULL) { in fido_nfc_manifest()182 if (udev_enum != NULL) in fido_nfc_manifest()183 udev_enumerate_unref(udev_enum); in fido_nfc_manifest()