Home
last modified time | relevance | path

Searched refs:dev_db (Results 1 – 4 of 4) sorted by relevance

/third_party/eudev/src/udev/
Dudev-node.c145 struct udev_device *dev_db; in link_find_prioritized() local
160 dev_db = udev_device_new_from_device_id(udev, dent->d_name); in link_find_prioritized()
161 if (dev_db != NULL) { in link_find_prioritized()
164 devnode = udev_device_get_devnode(dev_db); in link_find_prioritized()
166 … if (target == NULL || udev_device_get_devlink_priority(dev_db) > priority) { in link_find_prioritized()
168 … udev_device_get_syspath(dev_db), udev_device_get_devlink_priority(dev_db), stackdir); in link_find_prioritized()
169 priority = udev_device_get_devlink_priority(dev_db); in link_find_prioritized()
174 udev_device_unref(dev_db); in link_find_prioritized()
Dudev-event.c900 event->dev_db = udev_device_clone_with_db(dev);
901 if (event->dev_db != NULL) {
904 udev_watch_end(event->udev, event->dev_db);
909 udev_device_copy_properties(dev, event->dev_db);
1013 if (event->dev_db != NULL)
1014 udev_node_update_old_links(dev, event->dev_db);
1040 udev_device_ensure_usec_initialized(event->dev, event->dev_db);
1043 udev_device_tag_index(dev, event->dev_db, true);
1047 event->dev_db = udev_device_unref(event->dev_db);
Dudev.h37 struct udev_device *dev_db; member
Dudev-rules.c2219 value = udev_device_get_property_value(event->dev_db, key); in udev_rules_apply_to_event()