Home
last modified time | relevance | path

Searched refs:partno (Results 1 – 1 of 1) sorted by relevance

/fs/
Dblock_dev.c1098 static struct gendisk *bdev_get_gendisk(struct block_device *bdev, int *partno) in bdev_get_gendisk() argument
1100 struct gendisk *disk = get_gendisk(bdev->bd_dev, partno); in bdev_get_gendisk()
1146 int partno, err; in bd_start_claiming() local
1154 disk = bdev_get_gendisk(bdev, &partno); in bd_start_claiming()
1166 if (partno) in bd_start_claiming()
1535 int partno; in __blkdev_get() local
1557 disk = bdev_get_gendisk(bdev, &partno); in __blkdev_get()
1568 bdev->bd_partno = partno; in __blkdev_get()
1570 if (!partno) { in __blkdev_get()
1572 bdev->bd_part = disk_get_part(disk, partno); in __blkdev_get()
[all …]