Lines Matching refs:disks

153 __2data_recov_4(int disks, size_t bytes, int faila, int failb,  in __2data_recov_4()  argument
168 p = blocks[disks-2]; in __2data_recov_4()
169 p_off = offs[disks-2]; in __2data_recov_4()
170 q = blocks[disks-1]; in __2data_recov_4()
171 q_off = offs[disks-1]; in __2data_recov_4()
203 __2data_recov_5(int disks, size_t bytes, int faila, int failb, in __2data_recov_5() argument
221 for (i = 0; i < disks-2; i++) { in __2data_recov_5()
231 p = blocks[disks-2]; in __2data_recov_5()
232 p_off = offs[disks-2]; in __2data_recov_5()
233 q = blocks[disks-1]; in __2data_recov_5()
234 q_off = offs[disks-1]; in __2data_recov_5()
294 __2data_recov_n(int disks, size_t bytes, int faila, int failb, in __2data_recov_n() argument
309 p = blocks[disks-2]; in __2data_recov_n()
310 p_off = offs[disks-2]; in __2data_recov_n()
311 q = blocks[disks-1]; in __2data_recov_n()
312 q_off = offs[disks-1]; in __2data_recov_n()
321 blocks[disks-2] = dp; in __2data_recov_n()
322 offs[disks-2] = dp_off; in __2data_recov_n()
326 blocks[disks-1] = dq; in __2data_recov_n()
327 offs[disks-1] = dq_off; in __2data_recov_n()
330 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in __2data_recov_n()
337 blocks[disks-2] = p; in __2data_recov_n()
338 offs[disks-2] = p_off; in __2data_recov_n()
339 blocks[disks-1] = q; in __2data_recov_n()
340 offs[disks-1] = q_off; in __2data_recov_n()
393 async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb, in async_raid6_2data_recov() argument
404 pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); in async_raid6_2data_recov()
415 for (i = 0; i < disks; i++) in async_raid6_2data_recov()
421 raid6_2data_recov(disks, bytes, faila, failb, ptrs); in async_raid6_2data_recov()
429 for (i = 0; i < disks-2 && non_zero_srcs < 4; i++) in async_raid6_2data_recov()
444 return __2data_recov_4(disks, bytes, faila, failb, in async_raid6_2data_recov()
452 return __2data_recov_5(disks, bytes, faila, failb, in async_raid6_2data_recov()
455 return __2data_recov_n(disks, bytes, faila, failb, in async_raid6_2data_recov()
471 async_raid6_datap_recov(int disks, size_t bytes, int faila, in async_raid6_datap_recov() argument
487 pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); in async_raid6_datap_recov()
498 for (i = 0; i < disks; i++) in async_raid6_datap_recov()
504 raid6_datap_recov(disks, bytes, faila, ptrs); in async_raid6_datap_recov()
513 for (i = 0; i < disks-2; i++) { in async_raid6_datap_recov()
525 p = blocks[disks-2]; in async_raid6_datap_recov()
526 p_off = offs[disks-2]; in async_raid6_datap_recov()
527 q = blocks[disks-1]; in async_raid6_datap_recov()
528 q_off = offs[disks-1]; in async_raid6_datap_recov()
536 blocks[disks-1] = dq; in async_raid6_datap_recov()
537 offs[disks-1] = dq_off; in async_raid6_datap_recov()
557 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in async_raid6_datap_recov()
563 blocks[disks-1] = q; in async_raid6_datap_recov()
564 offs[disks-1] = q_off; in async_raid6_datap_recov()