Lines Matching refs:best
141 const struct raid6_recov_calls *best;
143 for (best = NULL, algo = raid6_recov_algos; *algo; algo++)
144 if (!best || (*algo)->priority > best->priority)
146 best = *algo;
148 if (best) {
149 raid6_2data_recov = best->data2;
150 raid6_datap_recov = best->datap;
152 pr_info("raid6: using %s recovery algorithm\n", best->name);
156 return best;
165 const struct raid6_calls *best;
167 for (bestgenperf = 0, best = NULL, algo = raid6_algos; *algo; algo++) {
168 if (!best || (*algo)->priority >= best->priority) {
173 best = *algo;
192 best = *algo;
200 if (!best) {
205 raid6_call = *best;
209 best->name);
214 best->name,
218 if (best->xor_syndrome) {
227 best->xor_syndrome(disks, start, stop,
239 return best;
243 /* Try to pick the best algorithm */