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()
288 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
398 static bool partition_overlaps(struct gendisk *disk, sector_t start, in partition_overlaps()
419 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition()
449 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition()
481 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start, in bdev_resize_partition()
508 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity()
521 static bool blk_add_partition(struct gendisk *disk, in blk_add_partition()
573 static int blk_add_partitions(struct gendisk *disk) in blk_add_partitions()
634 int bdev_disk_changed(struct gendisk *disk, bool invalidate) in bdev_disk_changed()