Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Ddm-zoned-metadata.c167 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()
[all …]