Lines Matching refs:algorithm
2546 int algorithm = previous ? conf->prev_algo in raid5_compute_sector() local
2547 : conf->algorithm; in raid5_compute_sector()
2577 switch (algorithm) { in raid5_compute_sector()
2609 switch (algorithm) { in raid5_compute_sector()
2746 int algorithm = previous ? conf->prev_algo in compute_blocknr() local
2747 : conf->algorithm; in compute_blocknr()
2763 switch (algorithm) { in compute_blocknr()
2787 switch (algorithm) { in compute_blocknr()
6566 conf->algorithm = mddev->new_layout; in setup_conf()
6813 conf->algorithm, in run()
7334 conf->prev_algo = conf->algorithm; in raid5_start_reshape()
7335 conf->algorithm = mddev->new_layout; in raid5_start_reshape()
7409 mddev->new_layout = conf->algorithm = conf->prev_algo; in raid5_start_reshape()
7486 mddev->layout = conf->algorithm; in raid5_finish_reshape()
7643 conf->algorithm = mddev->new_layout; in raid5_check_reshape()