Lines Matching refs:block_device
90 static void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) in bdev_set_nr_sectors()
205 struct block_device *bdev = dev_to_bdev(dev); in part_alignment_offset_show()
215 struct block_device *bdev = dev_to_bdev(dev); in part_discard_alignment_show()
270 struct block_device *part = dev_to_bdev(dev); in part_uevent()
285 static void delete_partition(struct block_device *part) in delete_partition()
316 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition()
323 struct block_device *bdev; in add_partition()
437 struct block_device *part; in partition_overlaps()
458 struct block_device *part; in bdev_add_partition()
482 struct block_device *part = NULL; in bdev_del_partition()
504 struct block_device *part = NULL; in bdev_resize_partition()
546 struct block_device *part; in blk_drop_partitions()
560 struct block_device *part; in blk_add_partition()