Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Ddevice.h949 extern long sysfs_deprecated;
951 #define sysfs_deprecated 0 macro
/kernel/linux/linux-5.10/drivers/base/
Dcore.c37 long sysfs_deprecated = 1; variable
39 long sysfs_deprecated = 0; variable
43 return kstrtol(arg, 10, &sysfs_deprecated); in sysfs_deprecated_setup()
2536 if (sysfs_deprecated && dev->class == &block_class) { in get_device_parent()
2699 if (sysfs_deprecated && dev->class == &block_class) in device_add_class_symlinks()
2733 if (sysfs_deprecated && dev->class == &block_class) in device_remove_class_symlinks()
4007 if (sysfs_deprecated && dev->class == &block_class) in device_change_owner()
Dclass.c179 if (!sysfs_deprecated || cls != &block_class) in __class_register()
/kernel/linux/linux-5.10/block/
Dgenhd.c724 if (!sysfs_deprecated) { in register_disk()
958 if (!sysfs_deprecated) in del_gendisk()
1238 if (!sysfs_deprecated) in genhd_device_init()