Lines Matching refs:nr_meta_zones
167 unsigned int nr_meta_zones; member
984 unsigned int nr_meta_zones, nr_data_zones; in dmz_check_sb() local
1060 nr_meta_zones = (le32_to_cpu(sb->nr_meta_blocks) + zmd->zone_nr_blocks - 1) in dmz_check_sb()
1062 if (!nr_meta_zones || in dmz_check_sb()
1063 (zmd->nr_devs <= 1 && nr_meta_zones >= zmd->nr_rnd_zones) || in dmz_check_sb()
1064 (zmd->nr_devs > 1 && nr_meta_zones >= zmd->nr_cache_zones)) { in dmz_check_sb()
1070 le32_to_cpu(sb->nr_reserved_seq) >= (zmd->nr_useable_zones - nr_meta_zones)) { in dmz_check_sb()
1076 (nr_meta_zones * 2 + le32_to_cpu(sb->nr_reserved_seq)); in dmz_check_sb()
1089 zmd->nr_meta_zones = nr_meta_zones; in dmz_check_sb()
1255 zmd->sb[0].zone->id + zmd->nr_meta_zones; in dmz_load_sb()
2910 for (i = 0; i < zmd->nr_meta_zones << 1; i++) { in dmz_ctr_metadata()
2959 zmd->nr_meta_zones * 2); in dmz_ctr_metadata()