Home
last modified time | relevance | path

Searched refs:hotplug_event (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/hal/hald/solaris/
H A Dhotplug.c45 static void hotplug_event_begin (HotplugEvent *hotplug_event);
50 HotplugEvent *hotplug_event = (HotplugEvent *) end_token; in hotplug_event_end() local
52 hotplug_events_in_progress = g_slist_remove (hotplug_events_in_progress, hotplug_event); in hotplug_event_end()
53 g_free (hotplug_event); in hotplug_event_end()
58 hotplug_event_begin_devfs_add (HotplugEvent *hotplug_event, HalDevice *d) in hotplug_event_begin_devfs_add() argument
66 …HAL_ERROR (("devpath %s already present in store, ignore event", hotplug_event->un.devfs.devfs_pat… in hotplug_event_begin_devfs_add()
72 parent_udi = hal_device_property_get_string (hotplug_event->d, "info.parent"); in hotplug_event_begin_devfs_add()
80 if (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0) { in hotplug_event_begin_devfs_add()
81 …HAL_ERROR (("Parent is NULL devfs_path=%s parent_udi=%s", hotplug_event->un.devfs.devfs_path, pare… in hotplug_event_begin_devfs_add()
95 begin_add_func = hotplug_event->un.devfs.handler->hotplug_begin_add; in hotplug_event_begin_devfs_add()
[all …]
H A Ddevinfo.c177 HotplugEvent *hotplug_event; in devinfo_hotplug_enqueue() local
179 hotplug_event = g_new0 (HotplugEvent, 1); in devinfo_hotplug_enqueue()
180 hotplug_event->action = action; in devinfo_hotplug_enqueue()
181 hotplug_event->type = HOTPLUG_EVENT_DEVFS; in devinfo_hotplug_enqueue()
182 hotplug_event->d = d; in devinfo_hotplug_enqueue()
183 strlcpy (hotplug_event->un.devfs.devfs_path, devfs_path, in devinfo_hotplug_enqueue()
184 sizeof (hotplug_event->un.devfs.devfs_path)); in devinfo_hotplug_enqueue()
185 hotplug_event->un.devfs.handler = handler; in devinfo_hotplug_enqueue()
187 hotplug_event_enqueue (hotplug_event, front); in devinfo_hotplug_enqueue()
293 HotplugEvent *hotplug_event = (HotplugEvent *)end_token; in hotplug_event_begin_add_devinfo() local
[all …]