Searched refs:dev_to_bdev (Results 1 – 7 of 7) sorted by relevance
/linux/block/partitions/ |
A D | core.c | 187 return sprintf(buf, "%d\n", dev_to_bdev(dev)->bd_partno); in part_partition_show() 193 return sprintf(buf, "%llu\n", dev_to_bdev(dev)->bd_start_sect); in part_start_show() 199 return sprintf(buf, "%d\n", bdev_read_only(dev_to_bdev(dev))); in part_ro_show() 205 struct block_device *bdev = dev_to_bdev(dev); in part_alignment_offset_show() 215 struct block_device *bdev = dev_to_bdev(dev); in part_discard_alignment_show() 264 put_disk(dev_to_bdev(dev)->bd_disk); in part_release() 265 iput(dev_to_bdev(dev)->bd_inode); in part_release() 270 struct block_device *part = dev_to_bdev(dev); in part_uevent()
|
/linux/init/ |
A D | do_mounts.c | 79 struct block_device *bdev = dev_to_bdev(dev); in match_dev_by_uuid() 137 dev_to_bdev(dev)->bd_partno + offset); in devt_from_partuuid() 163 struct block_device *bdev = dev_to_bdev(dev); in match_dev_by_label()
|
/linux/block/ |
A D | genhd.c | 909 return sprintf(buf, "%llu\n", bdev_nr_sectors(dev_to_bdev(dev))); in part_size_show() 915 struct block_device *bdev = dev_to_bdev(dev); in part_stat_show() 959 struct block_device *bdev = dev_to_bdev(dev); in part_inflight_show() 1023 return sprintf(buf, "%d\n", dev_to_bdev(dev)->bd_make_it_fail); in part_fail_show() 1033 dev_to_bdev(dev)->bd_make_it_fail = i; in part_fail_store()
|
A D | blk-cgroup.c | 854 struct block_device *bdev = dev_to_bdev(dev); in blkcg_fill_root_iostats()
|
/linux/include/linux/ |
A D | genhd.h | 177 (dev_to_bdev(device)->bd_disk)
|
A D | blk_types.h | 76 #define dev_to_bdev(device) \ macro
|
/linux/kernel/trace/ |
A D | blktrace.c | 1766 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_show() 1800 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_store()
|
Completed in 23 milliseconds