Searched refs:block_class (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/block/ |
D | genhd.c | 683 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in printk_all_partitions() 738 class_dev_iter_init(iter, &block_class, NULL, &disk_type); in disk_seqf_start() 819 block_class.dev_kobj = sysfs_dev_block_kobj; in genhd_device_init() 820 error = class_register(&block_class); in genhd_device_init() 1100 struct class block_class = { variable 1232 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in blk_lookup_devt() 1282 disk_to_dev(disk)->class = &block_class; in __alloc_disk_node()
|
D | blk-cgroup.c | 840 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in blkcg_fill_root_iostats()
|
/Linux-v5.15/init/ |
D | do_mounts.c | 127 dev = class_find_device(&block_class, NULL, &cmp, &match_dev_by_uuid); in devt_from_partuuid() 176 dev = class_find_device(&block_class, NULL, label, &match_dev_by_label); in devt_from_partlabel()
|
/Linux-v5.15/include/linux/ |
D | genhd.h | 24 extern struct class block_class;
|
/Linux-v5.15/drivers/base/ |
D | devtmpfs.c | 87 return dev->class == &block_class; in is_blockdev()
|
D | class.c | 179 if (!sysfs_deprecated || cls != &block_class) in __class_register()
|
D | core.c | 2970 if (sysfs_deprecated && dev->class == &block_class) { in get_device_parent() 2971 if (parent && parent->class == &block_class) in get_device_parent() 2973 return &block_class.p->subsys.kobj; in get_device_parent() 3133 if (sysfs_deprecated && dev->class == &block_class) in device_add_class_symlinks() 3167 if (sysfs_deprecated && dev->class == &block_class) in device_remove_class_symlinks() 4447 if (sysfs_deprecated && dev->class == &block_class) in device_change_owner()
|
/Linux-v5.15/block/partitions/ |
D | core.c | 370 pdev->class = &block_class; in add_partition()
|