Home
last modified time | relevance | path

Searched refs:block_class (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/init/
Ddo_mounts.c140 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/
Dgenhd.c1080 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()
Dblk-cgroup.c832 class_dev_iter_init(&iter, &block_class, NULL, &disk_type); in blkcg_fill_root_iostats()
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h29 extern struct class block_class;
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c94 return dev->class == &block_class; in is_blockdev()
Dcore.c2537 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()
Dclass.c179 if (!sysfs_deprecated || cls != &block_class) in __class_register()
/kernel/linux/linux-5.10/block/partitions/
Dcore.c445 pdev->class = &block_class; in add_partition()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch49080 + pdev->class = &block_class;