Lines Matching refs:nr_devs
145 unsigned int nr_devs; member
339 for (i = 0; i < zmd->nr_devs; i++) { in dmz_check_dev()
350 for (i = 0; i < zmd->nr_devs; i++) { in dmz_dev_is_dying()
1067 (zmd->nr_devs <= 1 && nr_meta_zones >= zmd->nr_rnd_zones) || in dmz_check_sb()
1068 (zmd->nr_devs > 1 && nr_meta_zones >= zmd->nr_cache_zones)) { in dmz_check_sb()
1326 for (i = 1; i < zmd->nr_devs; i++) { in dmz_load_sb()
1411 if (zmd->nr_devs == 1 && !zmd->sb[0].zone) { in dmz_init_zone()
1416 if (zmd->nr_devs > 1 && num == 0) { in dmz_init_zone()
1491 for (i = 0; i < zmd->nr_devs; i++) { in dmz_init_zones()
1515 if (zmd->nr_devs > 1) { in dmz_init_zones()
1530 for (i = 1; i < zmd->nr_devs; i++) { in dmz_init_zones()
2217 for (i = 0; i < zmd->nr_devs; i++) in dmz_alloc_zone()
2239 if (i < zmd->nr_devs) { in dmz_alloc_zone()
2240 dev_idx = (dev_idx + 1) % zmd->nr_devs; in dmz_alloc_zone()
2883 zmd->nr_devs = num_dev; in dmz_ctr_metadata()
2954 for (i = 0; i < zmd->nr_devs; i++) in dmz_ctr_metadata()
2965 for (i = 0; i < zmd->nr_devs; i++) { in dmz_ctr_metadata()