Searched refs:max_disks (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/md/
H A Dmd.c1124 mddev->max_disks = MD_SB_DISKS; super_90_validate()
1585 mddev->max_disks = (4096-256)/2; super_1_validate()
2069 if (mddev->max_disks && rdev->desc_nr >= mddev->max_disks) { bind_rdev_to_array()
2071 mdname(mddev), mddev->max_disks); bind_rdev_to_array()
3200 if (mddev->max_disks && rdev_for_each_safe()
3201 (rdev->desc_nr >= mddev->max_disks || rdev_for_each_safe()
3202 i > mddev->max_disks)) { rdev_for_each_safe()
3206 mddev->max_disks); rdev_for_each_safe()
5285 mddev->max_disks = 0; md_clean()
6249 mddev->max_disks = MD_SB_DISKS; set_array_info()
6333 (mddev->max_disks && raid_disks >= mddev->max_disks)) update_raid_disks()
H A Dmd.h257 int max_disks; member in struct:mddev
H A Draid5.c6425 int raid_disk, memory, max_disks; setup_conf() local
6494 max_disks = max(conf->raid_disks, conf->previous_raid_disks); setup_conf()
6496 conf->disks = kzalloc(max_disks * sizeof(struct disk_info), setup_conf()
6530 if (raid_disk >= max_disks rdev_for_each()
6575 max_disks * ((sizeof(struct bio) + PAGE_SIZE))) / 1024;

Completed in 155 milliseconds