Lines Matching defs:parent
38 void devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root);
39 HalDevice *devinfo_add_node(HalDevice *parent, di_node_t node);
42 devinfo_add(HalDevice *parent, gchar *path)
58 devinfo_add_subtree(parent, root, TRUE);
64 devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root)
73 d = devinfo_add_node (parent, node);
86 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path)
92 if (parent != NULL) {
93 hal_device_property_set_string (d, "info.parent", hal_device_get_udi (parent));
95 hal_device_property_set_string (d, "info.parent", "/org/freedesktop/Hal/devices/local");
119 /* inherit parent's claim attributes */
120 if (hal_device_property_get_bool (parent, "info.claimed")) {
121 s1 = hal_device_property_get_string (parent, "info.claimed.service");
150 devinfo_add_node(HalDevice *parent, di_node_t node)
165 d = handler->add (parent, node, devfs_path, device_type);
291 hotplug_event_begin_add_devinfo (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token)
297 if (parent == NULL && (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0)) {
304 if (parent != NULL && hal_device_property_get_bool (parent, "info.ignore")) {
305 HAL_INFO (("Ignoring device since parent has info.ignore==TRUE"));
360 "info.parent", hal_device_get_udi (d));