Searched refs:dev_kobj (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/base/
H A Dclass.c187 if (!cls->dev_kobj) __class_register()
188 cls->dev_kobj = sysfs_dev_char_kobj; __class_register()
H A Dcore.c49 static struct kobject *dev_kobj; variable in typeref:struct:kobject
899 * to NULL prevents an entry from being created. class->dev_kobj must
910 kobj = dev->class->dev_kobj; device_to_dev_kobj()
1384 dev_kobj = kobject_create_and_add("dev", NULL); devices_init()
1385 if (!dev_kobj) devices_init()
1387 sysfs_dev_block_kobj = kobject_create_and_add("block", dev_kobj); devices_init()
1390 sysfs_dev_char_kobj = kobject_create_and_add("char", dev_kobj); devices_init()
1399 kobject_put(dev_kobj); devices_init()
/linux-4.1.27/include/linux/
H A Ddevice.h331 * @dev_kobj: The kobject that represents this class and links it into the hierarchy.
359 struct kobject *dev_kobj; member in class:__anon11609
/linux-4.1.27/block/
H A Dgenhd.c903 block_class.dev_kobj = sysfs_dev_block_kobj; genhd_device_init()

Completed in 84 milliseconds