Lines Matching refs:zoned

253 	 * If the target is mapped to zoned block device(s), check
268 * Note: The last zone of a zoned block device may be smaller
270 * zoned block device with such a zone, len would not be zone
1590 bool *zoned = data;
1592 return bdev_is_zoned(dev->bdev) != *zoned;
1602 * Check the device zoned model based on the target feature flag. If the target
1603 * has the DM_TARGET_ZONED_HM feature flag set, host-managed zoned devices are
1604 * also accepted but all devices must have the same zoned model. If the target
1606 * zoned model with all zoned devices having the same zone size.
1608 static bool dm_table_supports_zoned(struct dm_table *t, bool zoned)
1616 * backing device, the result must depend on checking zoned
1618 * if the target backing device is zoned as we get "false" when
1628 &zoned))
1631 if (zoned)
1650 * Check consistency of zoned model and zone sectors across all targets. For
1651 * zone sectors, if the destination device is a zoned block device, it shall
1654 static int validate_hardware_zoned(struct dm_table *t, bool zoned,
1657 if (!zoned)
1660 if (!dm_table_supports_zoned(t, zoned)) {
1661 DMERR("%s: zoned model is not consistent across all devices",
1671 DMERR("%s: zone sectors is not consistent across all zoned devices",
1687 bool zoned = false;
1709 if (!zoned && ti_limits.zoned) {
1712 * in table support this zoned model and zone sectors.
1714 zoned = ti_limits.zoned;
1744 * Verify that the zoned model and zone sectors, as determined before
1747 * zoned model on host-managed zoned block devices.
1750 if (limits->zoned) {
1752 * ...IF the above limits stacking determined a zoned model
1755 zoned = limits->zoned;
1758 if (validate_hardware_zoned(t, zoned, zone_sectors))
2038 * For a zoned target, setup the zones related queue attributes