Lines Matching refs:faila
134 __2data_recov_4(int disks, size_t bytes, int faila, int failb,
149 a = blocks[faila];
156 coef[0] = raid6_gfexi[failb-faila];
157 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
173 __2data_recov_5(int disks, size_t bytes, int faila, int failb,
191 if (i == faila || i == failb)
206 dp = blocks[faila];
231 coef[0] = raid6_gfexi[failb-faila];
232 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
247 __2data_recov_n(int disks, size_t bytes, int faila, int failb,
266 dp = blocks[faila];
267 blocks[faila] = NULL;
277 blocks[faila] = dp;
299 coef[0] = raid6_gfexi[failb-faila];
300 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
318 * @faila: first failed drive index
324 async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb,
330 BUG_ON(faila == failb);
331 if (failb < faila)
332 swap(faila, failb);
351 raid6_2data_recov(disks, bytes, faila, failb, ptrs);
374 return __2data_recov_4(disks, bytes, faila, failb, blocks, submit);
381 return __2data_recov_5(disks, bytes, faila, failb, blocks, submit);
383 return __2data_recov_n(disks, bytes, faila, failb, blocks, submit);
392 * @faila: failed drive index
397 async_raid6_datap_recov(int disks, size_t bytes, int faila,
427 raid6_datap_recov(disks, bytes, faila, ptrs);
437 if (i == faila)
454 dq = blocks[faila];
455 blocks[faila] = NULL;
478 blocks[faila] = dq;
481 /* calculate g^{-faila} */
482 coef = raid6_gfinv[raid6_gfexp[faila]];