Lines Matching refs:gendisk
88 static struct parsed_partitions *allocate_partitions(struct gendisk *hd) in allocate_partitions()
114 static struct parsed_partitions *check_partition(struct gendisk *hd) in check_partition()
299 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
417 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps()
438 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition()
474 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition()
495 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition()
522 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity()
535 static bool blk_add_partition(struct gendisk *disk, in blk_add_partition()
585 static int blk_add_partitions(struct gendisk *disk) in blk_add_partitions()
649 int bdev_disk_changed(struct gendisk *disk, bool invalidate) in bdev_disk_changed()