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()152 struct hd_struct *p = dev_to_part(dev); in part_inflight_show()164 struct hd_struct *p = dev_to_part(dev); in part_fail_show()173 struct hd_struct *p = dev_to_part(dev); in part_fail_store()[all …]
81 struct hd_struct *part = dev_to_part(dev); in match_dev_by_uuid()153 disk = part_to_disk(dev_to_part(dev)); in devt_from_partuuid()154 part = disk_get_part(disk, dev_to_part(dev)->partno + offset); in devt_from_partuuid()183 struct hd_struct *part = dev_to_part(dev); in match_dev_by_label()
25 #define dev_to_part(device) container_of((device), struct hd_struct, __dev) macro
1750 struct hd_struct *p = dev_to_part(dev); in sysfs_blk_trace_attr_show()1815 p = dev_to_part(dev); in sysfs_blk_trace_attr_store()