Home
last modified time | relevance | path

Searched refs:dev_to_part (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/block/partitions/
Dcore.c178 struct hd_struct *p = dev_to_part(dev); in part_partition_show()
186 struct hd_struct *p = dev_to_part(dev); in part_start_show()
194 struct hd_struct *p = dev_to_part(dev); in part_ro_show()
201 struct hd_struct *p = dev_to_part(dev); in part_alignment_offset_show()
211 struct hd_struct *p = dev_to_part(dev); in part_discard_alignment_show()
260 struct hd_struct *p = dev_to_part(dev); in part_release()
268 struct hd_struct *part = dev_to_part(dev); in part_uevent()
/kernel/linux/linux-5.10/init/
Ddo_mounts.c80 struct hd_struct *part = dev_to_part(dev); in match_dev_by_uuid()
152 disk = part_to_disk(dev_to_part(dev)); in devt_from_partuuid()
153 part = disk_get_part(disk, dev_to_part(dev)->partno + offset); in devt_from_partuuid()
182 struct hd_struct *part = dev_to_part(dev); in match_dev_by_label()
/kernel/linux/linux-5.10/block/
Dgenhd.c1290 struct hd_struct *p = dev_to_part(dev); in part_size_show()
1299 struct hd_struct *p = dev_to_part(dev); in part_stat_show()
1343 struct hd_struct *p = dev_to_part(dev); in part_inflight_show()
1398 struct hd_struct *p = dev_to_part(dev); in part_fail_show()
1407 struct hd_struct *p = dev_to_part(dev); in part_fail_store()
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h23 #define dev_to_part(device) container_of((device), struct hd_struct, __dev) macro
/kernel/linux/linux-5.10/kernel/trace/
Dblktrace.c1829 struct block_device *bdev = bdget_part(dev_to_part(dev)); in sysfs_blk_trace_attr_show()
1894 bdev = bdget_part(dev_to_part(dev)); in sysfs_blk_trace_attr_store()