Searched refs:devices_kset (Results 1 – 4 of 4) sorted by relevance
42 struct kset *devices_kset; member161 extern struct kset *devices_kset;
455 error = sysfs_create_link(&bus->p->devices_kset->kobj, in bus_add_device()468 sysfs_remove_link(&bus->p->devices_kset->kobj, dev_name(dev)); in bus_add_device()525 sysfs_remove_link(&dev->bus->p->devices_kset->kobj, in bus_remove_device()835 priv->devices_kset = kset_create_and_add("devices", NULL, in bus_register()837 if (!priv->devices_kset) { in bus_register()870 kset_unregister(bus->p->devices_kset); in bus_register()897 kset_unregister(bus->p->devices_kset); in bus_unregister()1196 system_kset = kset_create_and_add("system", NULL, &devices_kset->kobj); in buses_init()
2273 struct kset *devices_kset; variable2282 if (!devices_kset) in devices_kset_move_before()2286 spin_lock(&devices_kset->list_lock); in devices_kset_move_before()2288 spin_unlock(&devices_kset->list_lock); in devices_kset_move_before()2298 if (!devices_kset) in devices_kset_move_after()2302 spin_lock(&devices_kset->list_lock); in devices_kset_move_after()2304 spin_unlock(&devices_kset->list_lock); in devices_kset_move_after()2313 if (!devices_kset) in devices_kset_move_last()2316 spin_lock(&devices_kset->list_lock); in devices_kset_move_last()2317 list_move_tail(&dev->kobj.entry, &devices_kset->list); in devices_kset_move_last()[all …]
221 dpm_list. During shutdown it is determined by the devices_kset. With