Home
last modified time | relevance | path

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

/linux-2.6.39/block/
Dgenhd.c677 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 …]
Dblk-timeout.c39 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show()
48 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store()
/linux-2.6.39/drivers/block/aoe/
Daoeblk.c26 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()
/linux-2.6.39/include/linux/
Dgenhd.h20 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) macro
198 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()
/linux-2.6.39/drivers/block/
Dvirtio_blk.c276 struct gendisk *disk = dev_to_disk(dev); in virtblk_serial_show()
Dnbd.c389 struct gendisk *disk = dev_to_disk(dev); in pid_show()