/linux-3.4.99/lib/raid6/ |
D | recov.c | 25 void raid6_2data_recov(int disks, size_t bytes, int faila, int failb, in raid6_2data_recov() argument 39 dp = (u8 *)ptrs[faila]; in raid6_2data_recov() 40 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov() 49 ptrs[faila] = dp; in raid6_2data_recov() 55 pbmul = raid6_gfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov() 56 qmul = raid6_gfmul[raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]]; in raid6_2data_recov() 70 void raid6_datap_recov(int disks, size_t bytes, int faila, void **ptrs) in raid6_datap_recov() argument 80 dq = (u8 *)ptrs[faila]; in raid6_datap_recov() 81 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov() 87 ptrs[faila] = dq; in raid6_datap_recov() [all …]
|
/linux-3.4.99/crypto/async_tx/ |
D | async_raid6_recov.c | 135 __2data_recov_4(int disks, size_t bytes, int faila, int failb, in __2data_recov_4() argument 150 a = blocks[faila]; in __2data_recov_4() 157 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4() 158 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_4() 174 __2data_recov_5(int disks, size_t bytes, int faila, int failb, in __2data_recov_5() argument 192 if (i == faila || i == failb) in __2data_recov_5() 207 dp = blocks[faila]; in __2data_recov_5() 232 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_5() 233 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_5() 248 __2data_recov_n(int disks, size_t bytes, int faila, int failb, in __2data_recov_n() argument [all …]
|
D | raid6test.c | 73 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, struct page **ptrs) in raid6_dual_recov() argument 80 if (faila > failb) in raid6_dual_recov() 81 swap(faila, failb); in raid6_dual_recov() 84 if (faila == disks-2) { in raid6_dual_recov() 98 if (i == faila || i == failb) in raid6_dual_recov() 102 dest = ptrs[faila]; in raid6_dual_recov() 114 tx = async_raid6_datap_recov(disks, bytes, faila, ptrs, &submit); in raid6_dual_recov() 118 tx = async_raid6_2data_recov(disks, bytes, faila, failb, ptrs, &submit); in raid6_dual_recov() 128 __func__, faila, failb, disks); in raid6_dual_recov() 132 __func__, faila, failb, result); in raid6_dual_recov()
|
/linux-3.4.99/include/linux/raid/ |
D | pq.h | 119 void raid6_2data_recov(int disks, size_t bytes, int faila, int failb, 121 void raid6_datap_recov(int disks, size_t bytes, int faila, void **ptrs); 122 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/linux-3.4.99/include/linux/ |
D | async_tx.h | 201 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb, 205 async_raid6_datap_recov(int src_num, size_t bytes, int faila,
|
/linux-3.4.99/drivers/md/ |
D | raid5.c | 963 int faila = -1, failb = -1; in ops_run_compute6_2() local 991 faila = slot; in ops_run_compute6_2() 997 BUG_ON(faila == failb); in ops_run_compute6_2() 998 if (failb < faila) in ops_run_compute6_2() 999 swap(faila, failb); in ops_run_compute6_2() 1001 __func__, (unsigned long long)sh->sector, faila, failb); in ops_run_compute6_2() 1007 if (faila == syndrome_disks) { in ops_run_compute6_2() 1053 STRIPE_SIZE, faila, in ops_run_compute6_2() 1058 STRIPE_SIZE, faila, failb, in ops_run_compute6_2()
|