Searched refs:dev_to_part (Results 1 – 4 of 4) sorted by relevance
70 struct hd_struct *p = dev_to_part(dev); in part_partition_show()78 struct hd_struct *p = dev_to_part(dev); in part_start_show()86 struct hd_struct *p = dev_to_part(dev); in part_size_show()93 struct hd_struct *p = dev_to_part(dev); in part_ro_show()100 struct hd_struct *p = dev_to_part(dev); in part_alignment_offset_show()107 struct hd_struct *p = dev_to_part(dev); in part_discard_alignment_show()114 struct hd_struct *p = dev_to_part(dev); in part_stat_show()141 struct hd_struct *p = dev_to_part(dev); in part_inflight_show()151 struct hd_struct *p = dev_to_part(dev); in part_fail_show()160 struct hd_struct *p = dev_to_part(dev); in part_fail_store()[all …]
89 struct hd_struct *part = dev_to_part(dev); in match_dev_by_uuid()161 disk = part_to_disk(dev_to_part(dev)); in devt_from_partuuid()162 part = disk_get_part(disk, dev_to_part(dev)->partno + offset); in devt_from_partuuid()
21 #define dev_to_part(device) container_of((device), struct hd_struct, __dev) macro
1630 struct hd_struct *p = dev_to_part(dev); in sysfs_blk_trace_attr_show()1695 p = dev_to_part(dev); in sysfs_blk_trace_attr_store()