Searched refs:zoned_dev (Results 1 – 2 of 2) sorted by relevance
767 struct dmz_dev *reg_dev, *zoned_dev; in dmz_fixup_devices() local783 zoned_dev = &dmz->dev[i]; in dmz_fixup_devices()784 if (zoned_dev->flags & DMZ_BDEV_REGULAR) { in dmz_fixup_devices()788 q = bdev_get_queue(zoned_dev->bdev); in dmz_fixup_devices()795 zoned_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()796 zoned_dev->nr_zones = in dmz_fixup_devices()797 blkdev_nr_zones(zoned_dev->bdev->bd_disk); in dmz_fixup_devices()801 zoned_dev = &dmz->dev[0]; in dmz_fixup_devices()802 if (zoned_dev->flags & DMZ_BDEV_REGULAR) { in dmz_fixup_devices()806 q = bdev_get_queue(zoned_dev->bdev); in dmz_fixup_devices()[all …]
1476 struct dmz_dev *zoned_dev = &zmd->dev[0]; in dmz_init_zones() local1531 zoned_dev = &zmd->dev[i]; in dmz_init_zones()1533 ret = blkdev_report_zones(zoned_dev->bdev, 0, in dmz_init_zones()1535 dmz_init_zone, zoned_dev); in dmz_init_zones()1551 ret = blkdev_report_zones(zoned_dev->bdev, 0, BLK_ALL_ZONES, in dmz_init_zones()1552 dmz_init_zone, zoned_dev); in dmz_init_zones()