Searched refs:sysfs_deprecated (Results 1 – 4 of 4) sorted by relevance
949 extern long sysfs_deprecated;951 #define sysfs_deprecated 0 macro
37 long sysfs_deprecated = 1; variable39 long sysfs_deprecated = 0; variable43 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()
179 if (!sysfs_deprecated || cls != &block_class) in __class_register()
724 if (!sysfs_deprecated) { in register_disk()958 if (!sysfs_deprecated) in del_gendisk()1238 if (!sysfs_deprecated) in genhd_device_init()