Searched refs:block_class (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/init/ |
D | do_mounts.c | 140 dev = class_find_device(&block_class, NULL, &cmp, in devt_from_partuuid() 239 dev = class_find_device(&block_class, NULL, name + 10, in name_to_dev_t()
|
/kernel/linux/linux-5.10/block/ |
D | genhd.c | 1080 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in printk_all_partitions() 1137 class_dev_iter_init(iter, &block_class, NULL, &disk_type); in disk_seqf_start() 1228 block_class.dev_kobj = sysfs_dev_block_kobj; in genhd_device_init() 1229 error = class_register(&block_class); in genhd_device_init() 1578 struct class block_class = { variable 1695 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in blk_lookup_devt() 1768 disk_to_dev(disk)->class = &block_class; in __alloc_disk_node()
|
D | blk-cgroup.c | 832 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in blkcg_fill_root_iostats()
|
/kernel/linux/linux-5.10/include/linux/ |
D | genhd.h | 29 extern struct class block_class;
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devtmpfs.c | 94 return dev->class == &block_class; in is_blockdev()
|
D | core.c | 2537 if (sysfs_deprecated && dev->class == &block_class) { in get_device_parent() 2538 if (parent && parent->class == &block_class) in get_device_parent() 2540 return &block_class.p->subsys.kobj; in get_device_parent() 2700 if (sysfs_deprecated && dev->class == &block_class) in device_add_class_symlinks() 2734 if (sysfs_deprecated && dev->class == &block_class) in device_remove_class_symlinks() 4008 if (sysfs_deprecated && dev->class == &block_class) in device_change_owner()
|
D | class.c | 179 if (!sysfs_deprecated || cls != &block_class) in __class_register()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | core.c | 445 pdev->class = &block_class; in add_partition()
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 49080 + pdev->class = &block_class;
|