Lines Matching refs:gendisk
96 static struct parsed_partitions *allocate_partitions(struct gendisk *hd) in allocate_partitions()
122 static struct parsed_partitions *check_partition(struct gendisk *hd) in check_partition()
305 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
423 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps()
444 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition()
469 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition()
490 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition()
517 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity()
530 void blk_drop_partitions(struct gendisk *disk) in blk_drop_partitions()
541 static bool blk_add_partition(struct gendisk *disk, in blk_add_partition()
591 static int blk_add_partitions(struct gendisk *disk) in blk_add_partitions()
655 int bdev_disk_changed(struct gendisk *disk, bool invalidate) in bdev_disk_changed()