Searched refs:zone_nr_sectors (Results 1 – 3 of 3) sorted by relevance
770 sector_t zone_nr_sectors = 0; in dmz_fixup_devices() local790 if (zone_nr_sectors && in dmz_fixup_devices()791 zone_nr_sectors != blk_queue_zone_sectors(q)) { in dmz_fixup_devices()795 zone_nr_sectors = blk_queue_zone_sectors(q); in dmz_fixup_devices()796 if (!is_power_of_2(zone_nr_sectors)) { in dmz_fixup_devices()800 zoned_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()812 if (!is_power_of_2(zoned_dev->zone_nr_sectors)) { in dmz_fixup_devices()816 zoned_dev->zone_nr_sectors = blk_queue_zone_sectors(q); in dmz_fixup_devices()823 reg_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()826 reg_dev->zone_nr_sectors); in dmz_fixup_devices()[all …]
158 sector_t zone_nr_sectors; member255 return zmd->zone_nr_sectors; in dmz_zone_nr_sectors()1383 if (blkz->len != zmd->zone_nr_sectors) { in dmz_init_zone()1457 if (dev->capacity - zone_offset < zmd->zone_nr_sectors) { in dmz_emulate_zones()1462 zone_offset += zmd->zone_nr_sectors; in dmz_emulate_zones()1493 zmd->zone_nr_sectors = zmd->dev[0].zone_nr_sectors; in dmz_init_zones()1494 zmd->zone_nr_sectors_shift = ilog2(zmd->zone_nr_sectors); in dmz_init_zones()1495 zmd->zone_nr_blocks = dmz_sect2blk(zmd->zone_nr_sectors); in dmz_init_zones()1679 zmd->zone_nr_sectors, GFP_NOIO); in dmz_reset_zone()2869 dev->nr_zones, (u64)zmd->zone_nr_sectors, in dmz_print_dev()[all …]
71 sector_t zone_nr_sectors; member