Lines Matching refs:gendisk
98 static struct parsed_partitions *allocate_partitions(struct gendisk *hd) in allocate_partitions()
125 static struct parsed_partitions *check_partition(struct gendisk *hd) in check_partition()
316 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
434 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps()
455 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition()
480 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition()
501 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition()
528 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity()
544 void blk_drop_partitions(struct gendisk *disk) in blk_drop_partitions()
555 static bool blk_add_partition(struct gendisk *disk, in blk_add_partition()
605 static int blk_add_partitions(struct gendisk *disk) in blk_add_partitions()
666 int bdev_disk_changed(struct gendisk *disk, bool invalidate) in bdev_disk_changed()