Searched refs:dev_parent (Results 1 – 3 of 3) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-event.c | 221 if (event->dev_parent == NULL) in udev_event_apply_format() 223 l = strpcpy(&s, l, udev_device_get_sysname(event->dev_parent)); in udev_event_apply_format() 228 if (event->dev_parent == NULL) in udev_event_apply_format() 231 driver = udev_device_get_driver(event->dev_parent); in udev_event_apply_format() 313 … if (value == NULL && event->dev_parent != NULL && event->dev_parent != event->dev) in udev_event_apply_format() 314 value = udev_device_get_sysattr_value(event->dev_parent, attr); in udev_event_apply_format() 332 struct udev_device *dev_parent; in udev_event_apply_format() local 335 dev_parent = udev_device_get_parent(event->dev); in udev_event_apply_format() 336 if (dev_parent == NULL) in udev_event_apply_format() 338 devnode = udev_device_get_devnode(dev_parent); in udev_event_apply_format()
|
D | udev-rules.c | 670 struct udev_device *dev_parent; in import_parent_into_properties() local 673 dev_parent = udev_device_get_parent(dev); in import_parent_into_properties() 674 if (dev_parent == NULL) in import_parent_into_properties() 677 udev_list_entry_foreach(list_entry, udev_device_get_properties_list_entry(dev_parent)) { in import_parent_into_properties() 2050 event->dev_parent = event->dev; in udev_rules_apply_to_event() 2059 … if (match_key(rules, key, udev_device_get_sysname(event->dev_parent)) != 0) in udev_rules_apply_to_event() 2063 … if (match_key(rules, key, udev_device_get_subsystem(event->dev_parent)) != 0) in udev_rules_apply_to_event() 2067 … if (match_key(rules, key, udev_device_get_driver(event->dev_parent)) != 0) in udev_rules_apply_to_event() 2071 … if (match_attr(rules, event->dev_parent, event, key) != 0) in udev_rules_apply_to_event() 2075 … bool match = udev_device_has_tag(event->dev_parent, rules_str(rules, cur->key.value_off)); in udev_rules_apply_to_event() [all …]
|
D | udev.h | 36 struct udev_device *dev_parent; member
|