Lines Matching refs:dev
175 static ssize_t part_partition_show(struct device *dev, in part_partition_show() argument
178 struct hd_struct *p = dev_to_part(dev); in part_partition_show()
183 static ssize_t part_start_show(struct device *dev, in part_start_show() argument
186 struct hd_struct *p = dev_to_part(dev); in part_start_show()
191 static ssize_t part_ro_show(struct device *dev, in part_ro_show() argument
194 struct hd_struct *p = dev_to_part(dev); in part_ro_show()
198 static ssize_t part_alignment_offset_show(struct device *dev, in part_alignment_offset_show() argument
201 struct hd_struct *p = dev_to_part(dev); in part_alignment_offset_show()
208 static ssize_t part_discard_alignment_show(struct device *dev, in part_discard_alignment_show() argument
211 struct hd_struct *p = dev_to_part(dev); in part_discard_alignment_show()
258 static void part_release(struct device *dev) in part_release() argument
260 struct hd_struct *p = dev_to_part(dev); in part_release()
261 blk_free_devt(dev->devt); in part_release()
266 static int part_uevent(struct device *dev, struct kobj_uevent_env *env) in part_uevent() argument
268 struct hd_struct *part = dev_to_part(dev); in part_uevent()
359 static ssize_t whole_disk_show(struct device *dev, in whole_disk_show() argument