Searched refs:dev_to_part (Results 1 – 4 of 4) sorted by relevance
77 struct hd_struct *p = dev_to_part(dev); in part_partition_show()85 struct hd_struct *p = dev_to_part(dev); in part_start_show()93 struct hd_struct *p = dev_to_part(dev); in part_size_show()100 struct hd_struct *p = dev_to_part(dev); in part_ro_show()107 struct hd_struct *p = dev_to_part(dev); in part_alignment_offset_show()114 struct hd_struct *p = dev_to_part(dev); in part_discard_alignment_show()121 struct hd_struct *p = dev_to_part(dev); in part_stat_show()156 struct hd_struct *p = dev_to_part(dev); in part_inflight_show()168 struct hd_struct *p = dev_to_part(dev); in part_fail_show()177 struct hd_struct *p = dev_to_part(dev); in part_fail_store()[all …]
79 struct hd_struct *part = dev_to_part(dev); in match_dev_by_uuid()151 disk = part_to_disk(dev_to_part(dev)); in devt_from_partuuid()152 part = disk_get_part(disk, dev_to_part(dev)->partno + offset); in devt_from_partuuid()
24 #define dev_to_part(device) container_of((device), struct hd_struct, __dev) macro
1755 struct hd_struct *p = dev_to_part(dev); in sysfs_blk_trace_attr_show()1820 p = dev_to_part(dev); in sysfs_blk_trace_attr_store()