Searched refs:devices_kset (Results 1 – 3 of 3) sorted by relevance
534 struct kset *devices_kset; variable543 if (!devices_kset) in devices_kset_move_before()547 spin_lock(&devices_kset->list_lock); in devices_kset_move_before()549 spin_unlock(&devices_kset->list_lock); in devices_kset_move_before()559 if (!devices_kset) in devices_kset_move_after()563 spin_lock(&devices_kset->list_lock); in devices_kset_move_after()565 spin_unlock(&devices_kset->list_lock); in devices_kset_move_after()574 if (!devices_kset) in devices_kset_move_last()577 spin_lock(&devices_kset->list_lock); in devices_kset_move_last()578 list_move_tail(&dev->kobj.entry, &devices_kset->list); in devices_kset_move_last()[all …]
30 struct kset *devices_kset; member138 extern struct kset *devices_kset;
519 error = sysfs_create_link(&bus->p->devices_kset->kobj, in bus_add_device()532 sysfs_remove_link(&bus->p->devices_kset->kobj, dev_name(dev)); in bus_add_device()591 sysfs_remove_link(&dev->bus->p->devices_kset->kobj, in bus_remove_device()918 priv->devices_kset = kset_create_and_add("devices", NULL, in bus_register()920 if (!priv->devices_kset) { in bus_register()953 kset_unregister(bus->p->devices_kset); in bus_register()980 kset_unregister(bus->p->devices_kset); in bus_unregister()1279 system_kset = kset_create_and_add("system", NULL, &devices_kset->kobj); in buses_init()