Home
last modified time | relevance | path

Searched refs:sysattr (Results 1 – 6 of 6) sorted by relevance

/third_party/eudev/src/libudev/
Dlibudev.h110 const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr);
111 int udev_device_set_sysattr_value(struct udev_device *udev_device, const char *sysattr, char *value…
150 int udev_enumerate_add_match_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, co…
151 int udev_enumerate_add_nomatch_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, …
Dlibudev-device.c1462 …ic_ const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr) in udev_device_get_sysattr_value() argument
1474 if (sysattr == NULL) in udev_device_get_sysattr_value()
1479 list_entry = udev_list_entry_get_by_name(list_entry, sysattr); in udev_device_get_sysattr_value()
1483 strscpyl(path, sizeof(path), udev_device_get_syspath(udev_device), "/", sysattr, NULL); in udev_device_get_sysattr_value()
1485 udev_list_entry_add(&udev_device->sysattr_value_list, sysattr, NULL); in udev_device_get_sysattr_value()
1494 if (streq(sysattr, "driver") || in udev_device_get_sysattr_value()
1495 streq(sysattr, "subsystem") || in udev_device_get_sysattr_value()
1496 streq(sysattr, "module")) { in udev_device_get_sysattr_value()
1497 if (util_get_sys_core_link_value(udev_device->udev, sysattr, in udev_device_get_sysattr_value()
1500 … list_entry = udev_list_entry_add(&udev_device->sysattr_value_list, sysattr, value); in udev_device_get_sysattr_value()
[all …]
Dlibudev-enumerate.c392 …ate_add_match_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, const char *valu… in udev_enumerate_add_match_sysattr() argument
396 if (sysattr == NULL) in udev_enumerate_add_match_sysattr()
398 if (udev_list_entry_add(&udev_enumerate->sysattr_match_list, sysattr, value) == NULL) in udev_enumerate_add_match_sysattr()
413 …e_add_nomatch_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, const char *valu… in udev_enumerate_add_nomatch_sysattr() argument
417 if (sysattr == NULL) in udev_enumerate_add_nomatch_sysattr()
419 if (udev_list_entry_add(&udev_enumerate->sysattr_nomatch_list, sysattr, value) == NULL) in udev_enumerate_add_nomatch_sysattr()
424 static int match_sysattr_value(struct udev_device *dev, const char *sysattr, const char *match_val) in match_sysattr_value() argument
429 val = udev_device_get_sysattr_value(dev, sysattr); in match_sysattr_value()
/third_party/eudev/export_include/
Dlibudev.h110 const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr);
111 int udev_device_set_sysattr_value(struct udev_device *udev_device, const char *sysattr, char *value…
150 int udev_enumerate_add_match_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, co…
151 int udev_enumerate_add_nomatch_sysattr(struct udev_enumerate *udev_enumerate, const char *sysattr, …
/third_party/eudev/src/udev/
Dudevadm-info.c56 struct udev_list_entry *sysattr; in print_all_attributes() local
58 udev_list_entry_foreach(sysattr, udev_device_get_sysattr_list_entry(device)) { in print_all_attributes()
63 name = udev_list_entry_get_name(sysattr); in print_all_attributes()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_udev.h82 const char *(*udev_device_get_sysattr_value)(struct udev_device *udev_device, const char *sysattr);