/Linux-v5.4/lib/raid6/ |
D | recov.c | 20 static void raid6_2data_recov_intx1(int disks, size_t bytes, int faila, in raid6_2data_recov_intx1() argument 34 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1() 35 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1() 44 ptrs[faila] = dp; in raid6_2data_recov_intx1() 50 pbmul = raid6_gfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_intx1() 51 qmul = raid6_gfmul[raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]]; in raid6_2data_recov_intx1() 64 static void raid6_datap_recov_intx1(int disks, size_t bytes, int faila, in raid6_datap_recov_intx1() argument 75 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_intx1() 76 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_intx1() 82 ptrs[faila] = dq; in raid6_datap_recov_intx1() [all …]
|
D | recov_neon.c | 29 static void raid6_2data_recov_neon(int disks, size_t bytes, int faila, in raid6_2data_recov_neon() argument 44 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_neon() 45 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon() 54 ptrs[faila] = dp; in raid6_2data_recov_neon() 60 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_neon() 61 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_neon() 69 static void raid6_datap_recov_neon(int disks, size_t bytes, int faila, in raid6_datap_recov_neon() argument 82 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_neon() 83 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_neon() 89 ptrs[faila] = dq; in raid6_datap_recov_neon() [all …]
|
D | recov_s390xc.c | 23 static void raid6_2data_recov_s390xc(int disks, size_t bytes, int faila, in raid6_2data_recov_s390xc() argument 37 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_s390xc() 38 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_s390xc() 47 ptrs[faila] = dp; in raid6_2data_recov_s390xc() 53 pbmul = raid6_gfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_s390xc() 54 qmul = raid6_gfmul[raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]]; in raid6_2data_recov_s390xc() 72 static void raid6_datap_recov_s390xc(int disks, size_t bytes, int faila, in raid6_datap_recov_s390xc() argument 84 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_s390xc() 85 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_s390xc() 91 ptrs[faila] = dq; in raid6_datap_recov_s390xc() [all …]
|
D | recov_avx2.c | 18 static void raid6_2data_recov_avx2(int disks, size_t bytes, int faila, in raid6_2data_recov_avx2() argument 32 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx2() 33 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx2() 42 ptrs[faila] = dp; in raid6_2data_recov_avx2() 48 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_avx2() 49 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_avx2() 188 static void raid6_datap_recov_avx2(int disks, size_t bytes, int faila, in raid6_datap_recov_avx2() argument 200 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_avx2() 201 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_avx2() 207 ptrs[faila] = dq; in raid6_datap_recov_avx2() [all …]
|
D | recov_avx512.c | 24 static void raid6_2data_recov_avx512(int disks, size_t bytes, int faila, in raid6_2data_recov_avx512() argument 41 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx512() 42 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx512() 51 ptrs[faila] = dp; in raid6_2data_recov_avx512() 57 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_avx512() 58 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_avx512() 227 static void raid6_datap_recov_avx512(int disks, size_t bytes, int faila, in raid6_datap_recov_avx512() argument 242 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_avx512() 243 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_avx512() 249 ptrs[faila] = dq; in raid6_datap_recov_avx512() [all …]
|
D | recov_ssse3.c | 18 static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, in raid6_2data_recov_ssse3() argument 34 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_ssse3() 35 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_ssse3() 44 ptrs[faila] = dp; in raid6_2data_recov_ssse3() 50 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_ssse3() 51 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_ssse3() 193 static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, in raid6_datap_recov_ssse3() argument 207 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_ssse3() 208 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_ssse3() 214 ptrs[faila] = dq; in raid6_datap_recov_ssse3() [all …]
|
/Linux-v5.4/crypto/async_tx/ |
D | async_raid6_recov.c | 146 __2data_recov_4(int disks, size_t bytes, int faila, int failb, in __2data_recov_4() argument 161 a = blocks[faila]; in __2data_recov_4() 168 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4() 169 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_4() 185 __2data_recov_5(int disks, size_t bytes, int faila, int failb, in __2data_recov_5() argument 203 if (i == faila || i == failb) in __2data_recov_5() 218 dp = blocks[faila]; in __2data_recov_5() 243 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_5() 244 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_5() 259 __2data_recov_n(int disks, size_t bytes, int faila, int failb, in __2data_recov_n() argument [all …]
|
D | raid6test.c | 55 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, struct page **ptrs) in raid6_dual_recov() argument 62 if (faila > failb) in raid6_dual_recov() 63 swap(faila, failb); in raid6_dual_recov() 66 if (faila == disks-2) { in raid6_dual_recov() 82 if (i == faila || i == failb) in raid6_dual_recov() 86 dest = ptrs[faila]; in raid6_dual_recov() 98 tx = async_raid6_datap_recov(disks, bytes, faila, ptrs, &submit); in raid6_dual_recov() 102 tx = async_raid6_2data_recov(disks, bytes, faila, failb, ptrs, &submit); in raid6_dual_recov() 112 __func__, faila, failb, disks); in raid6_dual_recov() 116 __func__, faila, failb, result); in raid6_dual_recov()
|
/Linux-v5.4/fs/btrfs/ |
D | raid56.c | 122 int faila; member 594 int fa = last->faila; in rbio_can_merge() 596 int cur_fa = cur->faila; in rbio_can_merge() 599 if (last->faila >= last->failb) { in rbio_can_merge() 601 fb = last->faila; in rbio_can_merge() 604 if (cur->faila >= cur->failb) { in rbio_can_merge() 606 cur_fb = cur->faila; in rbio_can_merge() 1008 rbio->faila = -1; in alloc_rbio() 1142 if (rbio->faila >= 0 || rbio->failb >= 0) { in validate_rbio_for_rmw() 1143 BUG_ON(rbio->faila == rbio->real_stripes - 1); in validate_rbio_for_rmw() [all …]
|
/Linux-v5.4/include/linux/raid/ |
D | pq.h | 155 extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, 157 extern void (*raid6_datap_recov)(int disks, size_t bytes, int faila, 159 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/Linux-v5.4/include/linux/ |
D | async_tx.h | 187 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb, 191 async_raid6_datap_recov(int src_num, size_t bytes, int faila,
|
/Linux-v5.4/drivers/md/ |
D | raid5.c | 1550 int faila = -1, failb = -1; in ops_run_compute6_2() local 1579 faila = slot; in ops_run_compute6_2() 1585 BUG_ON(faila == failb); in ops_run_compute6_2() 1586 if (failb < faila) in ops_run_compute6_2() 1587 swap(faila, failb); in ops_run_compute6_2() 1589 __func__, (unsigned long long)sh->sector, faila, failb); in ops_run_compute6_2() 1595 if (faila == syndrome_disks) { in ops_run_compute6_2() 1641 STRIPE_SIZE, faila, in ops_run_compute6_2() 1646 STRIPE_SIZE, faila, failb, in ops_run_compute6_2()
|