Searched refs:dev_to_disk (Results 1 – 6 of 6) sorted by relevance
677 disk = dev_to_disk(kobj_to_dev(kobj)); in get_gendisk()733 struct gendisk *disk = dev_to_disk(dev); in printk_all_partitions()800 return dev_to_disk(dev); in disk_seqf_start()810 return dev_to_disk(dev); in disk_seqf_next()915 struct gendisk *disk = dev_to_disk(dev); in disk_range_show()923 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show()931 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show()940 struct gendisk *disk = dev_to_disk(dev); in disk_ro_show()948 struct gendisk *disk = dev_to_disk(dev); in disk_capability_show()957 struct gendisk *disk = dev_to_disk(dev); in disk_alignment_offset_show()[all …]
39 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show()48 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store()
26 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state()39 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac()50 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif()88 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver()
20 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) macro198 return dev_to_disk(part_to_dev(part)->parent); in part_to_disk()200 return dev_to_disk(part_to_dev(part)); in part_to_disk()
276 struct gendisk *disk = dev_to_disk(dev); in virtblk_serial_show()
389 struct gendisk *disk = dev_to_disk(dev); in pid_show()