Home
last modified time | relevance | path

Searched refs:udev_enum (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/libfido2/fuzz/
H A Dudev.c168 struct udev_enumerate *udev_enum; in __wrap_udev_enumerate_new() local
171 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() argument
182 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() argument
190 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() argument
197 ASSERT_UDEV_ENUM(udev_enum); in __wrap_udev_enumerate_get_list_entry()
[all …]
/freebsd/contrib/libfido2/src/
H A Dhid_linux.c192 struct udev_enumerate *udev_enum = NULL; in fido_hid_manifest() local
206 (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()
H A Dnfc_linux.c137 struct udev_enumerate *udev_enum = NULL; in fido_nfc_manifest() local
151 (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()