Home
last modified time | relevance | path

Searched refs:zone_nr_sectors (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-zoned-target.c769 sector_t zone_nr_sectors = 0; in dmz_fixup_devices() local
789 if (zone_nr_sectors && in dmz_fixup_devices()
790 zone_nr_sectors != blk_queue_zone_sectors(q)) { in dmz_fixup_devices()
794 zone_nr_sectors = blk_queue_zone_sectors(q); in dmz_fixup_devices()
795 zoned_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
807 zoned_dev->zone_nr_sectors = blk_queue_zone_sectors(q); in dmz_fixup_devices()
814 reg_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
817 reg_dev->zone_nr_sectors); in dmz_fixup_devices()
1065 unsigned int zone_nr_sectors = dmz_zone_nr_sectors(dmz->metadata); in dmz_iterate_devices() local
1070 capacity = dmz->dev[i].capacity & ~(zone_nr_sectors - 1); in dmz_iterate_devices()
Ddm-zoned-metadata.c158 sector_t zone_nr_sectors; member
255 return zmd->zone_nr_sectors; in dmz_zone_nr_sectors()
1369 if (blkz->len != zmd->zone_nr_sectors) { in dmz_init_zone()
1443 if (dev->capacity - zone_offset < zmd->zone_nr_sectors) { in dmz_emulate_zones()
1448 zone_offset += zmd->zone_nr_sectors; in dmz_emulate_zones()
1479 zmd->zone_nr_sectors = zmd->dev[0].zone_nr_sectors; in dmz_init_zones()
1480 zmd->zone_nr_sectors_shift = ilog2(zmd->zone_nr_sectors); in dmz_init_zones()
1481 zmd->zone_nr_blocks = dmz_sect2blk(zmd->zone_nr_sectors); in dmz_init_zones()
1665 zmd->zone_nr_sectors, GFP_NOIO); in dmz_reset_zone()
2855 dev->nr_zones, (u64)zmd->zone_nr_sectors, in dmz_print_dev()
[all …]
Ddm-zoned.h70 sector_t zone_nr_sectors; member