Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/base/
Dbus.c497 error = sysfs_create_link(&sp->devices_kset->kobj, &dev->kobj, dev_name(dev)); in bus_add_device()
509 sysfs_remove_link(&sp->devices_kset->kobj, dev_name(dev)); in bus_add_device()
567 sysfs_remove_link(&sp->devices_kset->kobj, dev_name(dev)); in bus_remove_device()
876 priv->devices_kset = kset_create_and_add("devices", NULL, bus_kobj); in bus_register()
877 if (!priv->devices_kset) { in bus_register()
911 kset_unregister(priv->devices_kset); in bus_register()
947 kset_unregister(sp->devices_kset); in bus_unregister()
1380 system_kset = kset_create_and_add("system", NULL, &devices_kset->kobj); in buses_init()
Dcore.c2932 struct kset *devices_kset; variable
2941 if (!devices_kset) in devices_kset_move_before()
2945 spin_lock(&devices_kset->list_lock); in devices_kset_move_before()
2947 spin_unlock(&devices_kset->list_lock); in devices_kset_move_before()
2957 if (!devices_kset) in devices_kset_move_after()
2961 spin_lock(&devices_kset->list_lock); in devices_kset_move_after()
2963 spin_unlock(&devices_kset->list_lock); in devices_kset_move_after()
2972 if (!devices_kset) in devices_kset_move_last()
2975 spin_lock(&devices_kset->list_lock); in devices_kset_move_last()
2976 list_move_tail(&dev->kobj.entry, &devices_kset->list); in devices_kset_move_last()
[all …]
Dbase.h44 struct kset *devices_kset; member
191 extern struct kset *devices_kset;
/linux-6.6.21/Documentation/driver-api/
Ddevice_link.rst221 dpm_list. During shutdown it is determined by the devices_kset. With