Lines Matching defs:disk

59 void set_capacity(struct gendisk *disk, sector_t sectors)  in set_capacity()
69 bool set_capacity_and_notify(struct gendisk *disk, sector_t size) in set_capacity_and_notify()
322 void disk_uevent(struct gendisk *disk, enum kobject_action action) in disk_uevent()
343 int disk_scan_partitions(struct gendisk *disk, blk_mode_t mode) in disk_scan_partitions()
396 int __must_check device_add_disk(struct device *parent, struct gendisk *disk, in device_add_disk()
560 static void blk_report_disk_dead(struct gendisk *disk, bool surprise) in blk_report_disk_dead()
579 static void __blk_mark_disk_dead(struct gendisk *disk) in __blk_mark_disk_dead()
608 void blk_mark_disk_dead(struct gendisk *disk) in blk_mark_disk_dead()
634 void del_gendisk(struct gendisk *disk) in del_gendisk()
736 void invalidate_disk(struct gendisk *disk) in invalidate_disk()
751 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show() local
763 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store() local
900 struct gendisk *disk = dev_to_disk(dev); in disk_range_show() local
908 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show() local
917 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show() local
926 struct gendisk *disk = dev_to_disk(dev); in disk_hidden_show() local
935 struct gendisk *disk = dev_to_disk(dev); in disk_ro_show() local
1021 struct gendisk *disk = dev_to_disk(dev); in disk_alignment_offset_show() local
1030 struct gendisk *disk = dev_to_disk(dev); in disk_discard_alignment_show() local
1038 struct gendisk *disk = dev_to_disk(dev); in diskseq_show() local
1114 struct gendisk *disk = dev_to_disk(dev); in disk_visible() local
1153 struct gendisk *disk = dev_to_disk(dev); in disk_release() local
1192 const struct gendisk *disk = dev_to_disk(dev); in block_uevent() local
1205 struct gendisk *disk = dev_to_disk(dev); in block_devnode() local
1314 dev_t part_devt(struct gendisk *disk, u8 partno) in part_devt()
1331 struct gendisk *disk; in __alloc_disk_node() local
1390 struct gendisk *disk; in __blk_alloc_disk() local
1419 void put_disk(struct gendisk *disk) in put_disk()
1445 void set_disk_ro(struct gendisk *disk, bool read_only) in set_disk_ro()
1458 void inc_diskseq(struct gendisk *disk) in inc_diskseq()