Lines Matching refs:raid_disks
28 int i, disks = conf->raid_disks; in multipath_map()
139 seq_printf (seq, " [%d/%d] [", conf->raid_disks, in multipath_status()
140 conf->raid_disks - mddev->degraded); in multipath_status()
142 for (i = 0; i < conf->raid_disks; i++) { in multipath_status()
157 if (conf->raid_disks - mddev->degraded <= 1) { in multipath_error()
181 conf->raid_disks - mddev->degraded); in multipath_error()
194 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_multipath_conf()
195 conf->raid_disks); in print_multipath_conf()
197 for (i = 0; i < conf->raid_disks; i++) { in print_multipath_conf()
213 int last = mddev->raid_disks - 1; in multipath_add_disk()
328 static sector_t multipath_size(struct mddev *mddev, sector_t sectors, int raid_disks) in multipath_size() argument
330 WARN_ONCE(sectors || raid_disks, in multipath_size()
364 conf->multipaths = kcalloc(mddev->raid_disks, in multipath_run()
374 disk_idx >= mddev->raid_disks) in multipath_run()
386 conf->raid_disks = mddev->raid_disks; in multipath_run()
396 mddev->degraded = conf->raid_disks - working_disks; in multipath_run()
409 mdname(mddev), conf->raid_disks - mddev->degraded, in multipath_run()
410 mddev->raid_disks); in multipath_run()