Searched refs:zone_offset (Results 1 – 3 of 3) sorted by relevance
810 sector_t zone_offset; in dmz_fixup_devices() local816 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()
226 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() local1439 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()
66 unsigned int zone_offset; member