Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm-zoned-target.c767 sector_t zone_nr_sectors = 0; in dmz_fixup_devices() local
788 if (zone_nr_sectors && in dmz_fixup_devices()
789 zone_nr_sectors != bdev_zone_sectors(bdev)) { in dmz_fixup_devices()
793 zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()
794 zoned_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
805 zoned_dev->zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()
812 reg_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
815 reg_dev->zone_nr_sectors); in dmz_fixup_devices()
1063 unsigned int zone_nr_sectors = dmz_zone_nr_sectors(dmz->metadata); in dmz_iterate_devices() local
1068 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()
1365 if (blkz->len != zmd->zone_nr_sectors) { in dmz_init_zone()
1439 if (dev->capacity - zone_offset < zmd->zone_nr_sectors) { in dmz_emulate_zones()
1444 zone_offset += zmd->zone_nr_sectors; in dmz_emulate_zones()
1475 zmd->zone_nr_sectors = zmd->dev[0].zone_nr_sectors; in dmz_init_zones()
1476 zmd->zone_nr_sectors_shift = ilog2(zmd->zone_nr_sectors); in dmz_init_zones()
1477 zmd->zone_nr_blocks = dmz_sect2blk(zmd->zone_nr_sectors); in dmz_init_zones()
1661 zmd->zone_nr_sectors, GFP_NOIO); in dmz_reset_zone()
2852 dev->nr_zones, (u64)zmd->zone_nr_sectors, in dmz_print_dev()
[all …]
Ddm-zoned.h70 sector_t zone_nr_sectors; member