Lines Matching refs:zone_sectors
251 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid() local
253 if (start & (zone_sectors - 1)) { in device_area_is_invalid()
257 zone_sectors, bdev); in device_area_is_invalid()
270 if (len & (zone_sectors - 1)) { in device_area_is_invalid()
274 zone_sectors, bdev); in device_area_is_invalid()
1620 unsigned int *zone_sectors = data; in device_not_matches_zone_sectors() local
1624 return bdev_zone_sectors(dev->bdev) != *zone_sectors; in device_not_matches_zone_sectors()
1634 unsigned int zone_sectors) in validate_hardware_zoned_model() argument
1646 if (!zone_sectors || !is_power_of_2(zone_sectors)) in validate_hardware_zoned_model()
1649 if (dm_table_any_dev_attr(t, device_not_matches_zone_sectors, &zone_sectors)) { in validate_hardware_zoned_model()
1666 unsigned int zone_sectors = 0; in dm_calculate_queue_limits() local
1690 zone_sectors = ti_limits.chunk_sectors; in dm_calculate_queue_limits()
1732 zone_sectors = limits->chunk_sectors; in dm_calculate_queue_limits()
1734 if (validate_hardware_zoned_model(t, zoned_model, zone_sectors)) in dm_calculate_queue_limits()