Searched refs:max_disks (Results 1 – 4 of 4) sorted by relevance
1329 int max_disks; in ppl_init_log() local1356 max_disks = sizeof_field(struct ppl_log, disk_flush_bitmap) * in ppl_init_log()1358 if (conf->raid_disks > max_disks) { in ppl_init_log()1360 mdname(mddev), max_disks); in ppl_init_log()
344 int max_disks; member
1331 mddev->max_disks = MD_SB_DISKS; in super_90_validate()1813 mddev->max_disks = (4096-256)/2; in super_1_validate()2415 mddev->max_disks && rdev->desc_nr >= mddev->max_disks) { in bind_rdev_to_array()2417 mdname(mddev), mddev->max_disks); in bind_rdev_to_array()3758 if (mddev->max_disks && in analyze_sbs()3759 (rdev->desc_nr >= mddev->max_disks || in analyze_sbs()3760 i > mddev->max_disks)) { in analyze_sbs()3763 mddev->max_disks); in analyze_sbs()6164 mddev->max_disks = 0; in md_clean()7154 mddev->max_disks = MD_SB_DISKS; in md_set_array_info()[all …]
7431 int raid_disk, memory, max_disks; in setup_conf() local7529 max_disks = max(conf->raid_disks, conf->previous_raid_disks); in setup_conf()7531 conf->disks = kcalloc(max_disks, sizeof(struct disk_info), in setup_conf()7537 for (i = 0; i < max_disks; i++) { in setup_conf()7586 if (raid_disk >= max_disks in setup_conf()7641 max_disks * ((sizeof(struct bio) + PAGE_SIZE))) / 1024; in setup_conf()