devices_kset 31 drivers/base/base.h struct kset *devices_kset; devices_kset 147 drivers/base/base.h extern struct kset *devices_kset; devices_kset 454 drivers/base/bus.c error = sysfs_create_link(&bus->p->devices_kset->kobj, devices_kset 467 drivers/base/bus.c sysfs_remove_link(&bus->p->devices_kset->kobj, dev_name(dev)); devices_kset 524 drivers/base/bus.c sysfs_remove_link(&dev->bus->p->devices_kset->kobj, devices_kset 832 drivers/base/bus.c priv->devices_kset = kset_create_and_add("devices", NULL, devices_kset 834 drivers/base/bus.c if (!priv->devices_kset) { devices_kset 867 drivers/base/bus.c kset_unregister(bus->p->devices_kset); devices_kset 894 drivers/base/bus.c kset_unregister(bus->p->devices_kset); devices_kset 1193 drivers/base/bus.c system_kset = kset_create_and_add("system", NULL, &devices_kset->kobj); devices_kset 1531 drivers/base/core.c struct kset *devices_kset; devices_kset 1540 drivers/base/core.c if (!devices_kset) devices_kset 1544 drivers/base/core.c spin_lock(&devices_kset->list_lock); devices_kset 1546 drivers/base/core.c spin_unlock(&devices_kset->list_lock); devices_kset 1556 drivers/base/core.c if (!devices_kset) devices_kset 1560 drivers/base/core.c spin_lock(&devices_kset->list_lock); devices_kset 1562 drivers/base/core.c spin_unlock(&devices_kset->list_lock); devices_kset 1571 drivers/base/core.c if (!devices_kset) devices_kset 1574 drivers/base/core.c spin_lock(&devices_kset->list_lock); devices_kset 1575 drivers/base/core.c list_move_tail(&dev->kobj.entry, &devices_kset->list); devices_kset 1576 drivers/base/core.c spin_unlock(&devices_kset->list_lock); devices_kset 1699 drivers/base/core.c dev->kobj.kset = devices_kset; devices_kset 1726 drivers/base/core.c &devices_kset->kobj); devices_kset 2609 drivers/base/core.c devices_kset = kset_create_and_add("devices", &device_uevent_ops, NULL); devices_kset 2610 drivers/base/core.c if (!devices_kset) devices_kset 2629 drivers/base/core.c kset_unregister(devices_kset); devices_kset 3185 drivers/base/core.c spin_lock(&devices_kset->list_lock); devices_kset 3191 drivers/base/core.c while (!list_empty(&devices_kset->list)) { devices_kset 3192 drivers/base/core.c dev = list_entry(devices_kset->list.prev, struct device, devices_kset 3207 drivers/base/core.c spin_unlock(&devices_kset->list_lock); devices_kset 3240 drivers/base/core.c spin_lock(&devices_kset->list_lock); devices_kset 3242 drivers/base/core.c spin_unlock(&devices_kset->list_lock);