Searched refs:dev_kobj (Results 1 – 5 of 5) sorted by relevance
44 static struct kobject *dev_kobj; variable832 kobj = dev->class->dev_kobj; in device_to_dev_kobj()1281 dev_kobj = kobject_create_and_add("dev", NULL); in devices_init()1282 if (!dev_kobj) in devices_init()1284 sysfs_dev_block_kobj = kobject_create_and_add("block", dev_kobj); in devices_init()1287 sysfs_dev_char_kobj = kobject_create_and_add("char", dev_kobj); in devices_init()1296 kobject_put(dev_kobj); in devices_init()
184 if (!cls->dev_kobj) in __class_register()185 cls->dev_kobj = sysfs_dev_char_kobj; in __class_register()
198 struct kobject *dev_kobj; member
895 block_class.dev_kobj = sysfs_dev_block_kobj; in genhd_device_init()
2071 usb_classdev_class->dev_kobj = NULL; in usb_devio_init()