Lines Matching refs:hd_struct
178 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()
285 struct hd_struct *part = in hd_struct_free_work()
286 container_of(to_rcu_work(work), struct hd_struct, rcu_work); in hd_struct_free_work()
305 struct hd_struct *part = container_of(ref, struct hd_struct, ref); in hd_struct_free()
316 int hd_ref_init(struct hd_struct *part) in hd_ref_init()
327 void delete_partition(struct hd_struct *part) in delete_partition()
363 static struct hd_struct *add_partition(struct gendisk *disk, int partno, in add_partition()
367 struct hd_struct *p; in add_partition()
501 struct hd_struct *part; in partition_overlaps()
521 struct hd_struct *part; in bdev_add_partition()
538 struct hd_struct *part = NULL; in bdev_del_partition()
575 struct hd_struct *part; in bdev_resize_partition()
630 struct hd_struct *part; in blk_drop_partitions()
655 struct hd_struct *part; in blk_add_partition()