Lines Matching refs:nb_dev
41 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones()
49 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones()
203 zone->nb_dev = cnt; in create_strip_zones()
243 zone->nb_dev = c; in create_strip_zones()
247 zone->nb_dev, (unsigned long long)sectors); in create_strip_zones()
257 if (conf->nr_strip_zones == 1 || conf->strip_zone[1].nb_dev == 1) { in create_strip_zones()
314 int raid_disks = conf->strip_zone[0].nb_dev; in map_sector()
325 sector_div(chunk, zone->nb_dev << chunksect_bits); in map_sector()
329 sector_div(chunk, chunk_sects * zone->nb_dev); in map_sector()
338 + sector_div(sector, zone->nb_dev)]; in map_sector()
465 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard()
483 for (disk = 0; disk < zone->nb_dev; disk++) { in raid0_handle_discard()
506 conf->strip_zone[0].nb_dev + disk]; in raid0_handle_discard()