Lines Matching refs:hd_struct
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()
213 struct hd_struct *p = dev_to_part(dev); in part_release()
227 struct hd_struct *part = container_of(head, struct hd_struct, rcu_head); in delete_partition_rcu_cb()
237 struct hd_struct *part = container_of(ref, struct hd_struct, ref); in __delete_partition()
244 struct hd_struct *part; in delete_partition()
269 struct hd_struct *add_partition(struct gendisk *disk, int partno, in add_partition()
273 struct hd_struct *p; in add_partition()
404 struct hd_struct *part; in drop_partitions()
424 struct hd_struct *part; in rescan_partitions()