Home
last modified time | relevance | path

Searched refs:max_disks (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Draid5-ppl.c1336 int max_disks; in ppl_init_log() local
1363 max_disks = FIELD_SIZEOF(struct ppl_log, disk_flush_bitmap) * in ppl_init_log()
1365 if (conf->raid_disks > max_disks) { in ppl_init_log()
1367 mdname(mddev), max_disks); in ppl_init_log()
Dmd.c1278 mddev->max_disks = MD_SB_DISKS; in super_90_validate()
1763 mddev->max_disks = (4096-256)/2; in super_1_validate()
2328 mddev->max_disks && rdev->desc_nr >= mddev->max_disks) { in bind_rdev_to_array()
2330 mdname(mddev), mddev->max_disks); in bind_rdev_to_array()
3664 if (mddev->max_disks && in analyze_sbs()
3665 (rdev->desc_nr >= mddev->max_disks || in analyze_sbs()
3666 i > mddev->max_disks)) { in analyze_sbs()
3669 mddev->max_disks); in analyze_sbs()
5975 mddev->max_disks = 0; in md_clean()
6959 mddev->max_disks = MD_SB_DISKS; in set_array_info()
[all …]
Dmd.h310 int max_disks; member
Draid5.c6880 int raid_disk, memory, max_disks; in setup_conf() local
6972 max_disks = max(conf->raid_disks, conf->previous_raid_disks); in setup_conf()
6974 conf->disks = kcalloc(max_disks, sizeof(struct disk_info), in setup_conf()
6980 for (i = 0; i < max_disks; i++) { in setup_conf()
7025 if (raid_disk >= max_disks in setup_conf()
7081 max_disks * ((sizeof(struct bio) + PAGE_SIZE))) / 1024; in setup_conf()