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()
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()
1340 for (i = 1; i < zmd->nr_devs; i++) { in dmz_load_sb()
1425 if (zmd->nr_devs == 1 && !zmd->sb[0].zone) { in dmz_init_zone()
1430 if (zmd->nr_devs > 1 && num == 0) { in dmz_init_zone()
1505 for (i = 0; i < zmd->nr_devs; i++) { in dmz_init_zones()
1529 if (zmd->nr_devs > 1) { in dmz_init_zones()
1544 for (i = 1; i < zmd->nr_devs; i++) { in dmz_init_zones()
2231 for (i = 0; i < zmd->nr_devs; i++) in dmz_alloc_zone()
2253 if (i < zmd->nr_devs) { in dmz_alloc_zone()
2254 dev_idx = (dev_idx + 1) % zmd->nr_devs; in dmz_alloc_zone()
2897 zmd->nr_devs = num_dev; in dmz_ctr_metadata()
2968 for (i = 0; i < zmd->nr_devs; i++) in dmz_ctr_metadata()
2979 for (i = 0; i < zmd->nr_devs; i++) { in dmz_ctr_metadata()