Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/base/
Dcore.c36 long sysfs_deprecated = 1; variable
38 long sysfs_deprecated = 0; variable
42 return kstrtol(arg, 10, &sysfs_deprecated); in sysfs_deprecated_setup()
1792 if (sysfs_deprecated && dev->class == &block_class) { in get_device_parent()
1955 if (sysfs_deprecated && dev->class == &block_class) in device_add_class_symlinks()
1989 if (sysfs_deprecated && dev->class == &block_class) in device_remove_class_symlinks()
Dclass.c178 if (!sysfs_deprecated || cls != &block_class) in __class_register()
/Linux-v5.4/block/
Dgenhd.c618 if (!sysfs_deprecated) { in register_disk()
831 if (!sysfs_deprecated) in del_gendisk()
1108 if (!sysfs_deprecated) in genhd_device_init()
/Linux-v5.4/include/linux/
Ddevice.h1879 extern long sysfs_deprecated;
1881 #define sysfs_deprecated 0 macro