Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm-zoned-target.c781 struct dmz_dev *zoned_dev = &dmz->dev[i]; in dmz_fixup_devices() local
782 struct block_device *bdev = zoned_dev->bdev; in dmz_fixup_devices()
784 if (zoned_dev->flags & DMZ_BDEV_REGULAR) { in dmz_fixup_devices()
794 zoned_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
795 zoned_dev->nr_zones = bdev_nr_zones(bdev); in dmz_fixup_devices()
798 struct dmz_dev *zoned_dev = &dmz->dev[0]; in dmz_fixup_devices() local
799 struct block_device *bdev = zoned_dev->bdev; in dmz_fixup_devices()
801 if (zoned_dev->flags & DMZ_BDEV_REGULAR) { in dmz_fixup_devices()
805 zoned_dev->zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()
806 zoned_dev->nr_zones = bdev_nr_zones(bdev); in dmz_fixup_devices()
Ddm-zoned-metadata.c1472 struct dmz_dev *zoned_dev = &zmd->dev[0]; in dmz_init_zones() local
1527 zoned_dev = &zmd->dev[i]; in dmz_init_zones()
1529 ret = blkdev_report_zones(zoned_dev->bdev, 0, in dmz_init_zones()
1531 dmz_init_zone, zoned_dev); in dmz_init_zones()
1547 ret = blkdev_report_zones(zoned_dev->bdev, 0, BLK_ALL_ZONES, in dmz_init_zones()
1548 dmz_init_zone, zoned_dev); in dmz_init_zones()