Home
last modified time | relevance | path

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

/drivers/md/
Ddm-zoned-metadata.c167 unsigned int nr_meta_zones; member
998 unsigned int nr_meta_zones, nr_data_zones; in dmz_check_sb() local
1078 nr_meta_zones = (le32_to_cpu(sb->nr_meta_blocks) + zmd->zone_nr_blocks - 1) in dmz_check_sb()
1080 if (!nr_meta_zones || in dmz_check_sb()
1081 (zmd->nr_devs <= 1 && nr_meta_zones >= zmd->nr_rnd_zones) || in dmz_check_sb()
1082 (zmd->nr_devs > 1 && nr_meta_zones >= zmd->nr_cache_zones)) { in dmz_check_sb()
1088 le32_to_cpu(sb->nr_reserved_seq) >= (zmd->nr_useable_zones - nr_meta_zones)) { in dmz_check_sb()
1094 (nr_meta_zones * 2 + le32_to_cpu(sb->nr_reserved_seq)); in dmz_check_sb()
1107 zmd->nr_meta_zones = nr_meta_zones; in dmz_check_sb()
1273 zmd->sb[0].zone->id + zmd->nr_meta_zones; in dmz_load_sb()
[all …]