Searched refs:max_disks (Results 1 – 3 of 3) sorted by relevance
242 int max_disks; member
1108 mddev->max_disks = MD_SB_DISKS; in super_90_validate()1567 mddev->max_disks = (4096-256)/2; in super_1_validate()2091 mddev->max_disks && rdev->desc_nr >= mddev->max_disks) { in bind_rdev_to_array()2093 mdname(mddev), mddev->max_disks); in bind_rdev_to_array()3302 if (mddev->max_disks && in analyze_sbs()3303 (rdev->desc_nr >= mddev->max_disks || in analyze_sbs()3304 i > mddev->max_disks)) { in analyze_sbs()3308 mddev->max_disks); in analyze_sbs()5456 mddev->max_disks = 0; in md_clean()6435 mddev->max_disks = MD_SB_DISKS; in set_array_info()[all …]
6477 int raid_disk, memory, max_disks; in setup_conf() local6548 max_disks = max(conf->raid_disks, conf->previous_raid_disks); in setup_conf()6550 conf->disks = kzalloc(max_disks * sizeof(struct disk_info), in setup_conf()6584 if (raid_disk >= max_disks in setup_conf()6642 max_disks * ((sizeof(struct bio) + PAGE_SIZE))) / 1024; in setup_conf()