Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-zoned-target.c810 sector_t zone_offset; in dmz_fixup_devices() local
816 reg_dev->zone_offset = 0; in dmz_fixup_devices()
817 zone_offset = reg_dev->nr_zones; in dmz_fixup_devices()
819 dmz->dev[i].zone_offset = zone_offset; in dmz_fixup_devices()
820 zone_offset += dmz->dev[i].nr_zones; in dmz_fixup_devices()
H A Ddm-zoned-metadata.c226 return zone->id - zone->dev->zone_offset; in dmz_dev_zone_id()
1324 sb->zone = dmz_get(zmd, zmd->dev[i].zone_offset); in dmz_load_sb()
1358 int idx = num + dev->zone_offset; in dmz_init_zone()
1427 sector_t zone_offset = 0; in dmz_emulate_zones() local
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()
2847 dev->zone_offset << zmd->zone_nr_sectors_shift; in dmz_print_dev()
2853 (u64)dev->zone_offset); in dmz_print_dev()
H A Ddm-zoned.h66 unsigned int zone_offset; member