Lines Matching defs:algorithm
2968 int algorithm = previous ? conf->prev_algo
2969 : conf->algorithm;
2991 * Select the parity disk based on the user selected algorithm.
2999 switch (algorithm) {
3031 switch (algorithm) {
3168 int algorithm = previous ? conf->prev_algo
3169 : conf->algorithm;
3185 switch (algorithm) {
3209 switch (algorithm) {
7600 conf->algorithm = mddev->new_layout;
7607 conf->prev_algo = conf->algorithm;
7947 conf->algorithm,
7990 pr_info("md/raid:%s: raid level %d active with %d out of %d devices, algorithm %d\n",
8049 seq_printf(seq, " level %d, %dk chunk, algorithm %d", mddev->level,
8448 conf->prev_algo = conf->algorithm;
8449 conf->algorithm = mddev->new_layout;
8573 mddev->layout = conf->algorithm;
8734 conf->algorithm = mddev->new_layout;