Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-zoned-target.c812 sector_t zone_offset; in dmz_fixup_devices() local
818 reg_dev->zone_offset = 0; in dmz_fixup_devices()
819 zone_offset = reg_dev->nr_zones; in dmz_fixup_devices()
821 dmz->dev[i].zone_offset = zone_offset; in dmz_fixup_devices()
822 zone_offset += dmz->dev[i].nr_zones; in dmz_fixup_devices()
Ddm-zoned-metadata.c226 return zone->id - zone->dev->zone_offset; in dmz_dev_zone_id()
1328 sb->zone = dmz_get(zmd, zmd->dev[i].zone_offset); in dmz_load_sb()
1362 int idx = num + dev->zone_offset; in dmz_init_zone()
1431 sector_t zone_offset = 0; in dmz_emulate_zones() local
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()
2850 dev->zone_offset << zmd->zone_nr_sectors_shift; in dmz_print_dev()
2856 (u64)dev->zone_offset); in dmz_print_dev()
Ddm-zoned.h66 unsigned int zone_offset; member