Home
last modified time | relevance | path

Searched refs:dev_to_disk (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/block/
Dgenhd.c821 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show()
833 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store()
858 disk = dev_to_disk(kobj_to_dev(kobj)); in get_gendisk()
930 struct gendisk *disk = dev_to_disk(dev); in printk_all_partitions()
992 return dev_to_disk(dev); in disk_seqf_start()
1002 return dev_to_disk(dev); in disk_seqf_next()
1096 struct gendisk *disk = dev_to_disk(dev); in disk_range_show()
1104 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show()
1112 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show()
1121 struct gendisk *disk = dev_to_disk(dev); in disk_hidden_show()
[all …]
Dblk-timeout.c43 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show()
52 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store()
/linux-4.19.296/include/linux/
Dgenhd.h23 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) macro
220 return dev_to_disk(part_to_dev(part)->parent); in part_to_disk()
222 return dev_to_disk(part_to_dev(part)); in part_to_disk()