/openbmc/linux/lib/raid6/ |
H A D | recov.c | 20 int failb, void **ptrs) in raid6_2data_recov_intx1() argument 36 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1() 37 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1() 44 ptrs[failb] = dq; in raid6_2data_recov_intx1() 49 pbmul = raid6_gfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_intx1() 109 if ( faila > failb ) { in raid6_dual_recov() 111 faila = failb; in raid6_dual_recov() 112 failb = tmp; in raid6_dual_recov() 115 if ( failb == disks-1 ) { in raid6_dual_recov() 125 if ( failb == disks-2 ) { in raid6_dual_recov() [all …]
|
H A D | recov_loongarch_simd.c | 30 int failb, void **ptrs) in raid6_2data_recov_lsx() argument 47 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_lsx() 48 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_lsx() 55 ptrs[failb] = dq; in raid6_2data_recov_lsx() 60 pbmul = raid6_vgfmul[raid6_gfexi[failb - faila]]; in raid6_2data_recov_lsx() 61 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ raid6_gfexp[failb]]]; in raid6_2data_recov_lsx() 304 int failb, void **ptrs) in raid6_2data_recov_lasx() argument 321 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_lasx() 322 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_lasx() 329 ptrs[failb] = dq; in raid6_2data_recov_lasx() [all …]
|
H A D | recov_neon.c | 24 int failb, void **ptrs) in raid6_2data_recov_neon() argument 41 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_neon() 42 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon() 49 ptrs[failb] = dq; in raid6_2data_recov_neon() 54 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_neon() 56 raid6_gfexp[failb]]]; in raid6_2data_recov_neon()
|
H A D | recov_s390xc.c | 24 int failb, void **ptrs) in raid6_2data_recov_s390xc() argument 40 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_s390xc() 41 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_s390xc() 48 ptrs[failb] = dq; 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()
|
H A D | recov_avx2.c | 17 int failb, void **ptrs) in raid6_2data_recov_avx2() argument 33 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_avx2() 34 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx2() 41 ptrs[failb] = dq; in raid6_2data_recov_avx2() 46 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_avx2() 48 raid6_gfexp[failb]]]; in raid6_2data_recov_avx2()
|
H A D | recov_ssse3.c | 17 int failb, void **ptrs) in raid6_2data_recov_ssse3() argument 35 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_ssse3() 36 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_ssse3() 43 ptrs[failb] = dq; in raid6_2data_recov_ssse3() 48 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_ssse3() 50 raid6_gfexp[failb]]]; in raid6_2data_recov_ssse3()
|
H A D | recov_avx512.c | 25 int failb, void **ptrs) in raid6_2data_recov_avx512() argument 44 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_avx512() 45 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx512() 52 ptrs[failb] = dq; in raid6_2data_recov_avx512() 57 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_avx512() 59 raid6_gfexp[failb]]]; in raid6_2data_recov_avx512()
|
/openbmc/linux/crypto/async_tx/ |
H A D | async_raid6_recov.c | 175 b = blocks[failb]; in __2data_recov_4() 176 b_off = offs[failb]; in __2data_recov_4() 244 dq = blocks[failb]; in __2data_recov_5() 245 dq_off = offs[failb]; in __2data_recov_5() 323 dq = blocks[failb]; in __2data_recov_n() 324 dq_off = offs[failb]; in __2data_recov_n() 325 blocks[failb] = NULL; in __2data_recov_n() 335 blocks[failb] = dq; in __2data_recov_n() 336 offs[failb] = dq_off; in __2data_recov_n() 401 if (failb < faila) in async_raid6_2data_recov() [all …]
|
H A D | raid6test.c | 57 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, in raid6_dual_recov() argument 65 if (faila > failb) in raid6_dual_recov() 66 swap(faila, failb); in raid6_dual_recov() 68 if (failb == disks-1) { in raid6_dual_recov() 86 if (i == faila || i == failb) in raid6_dual_recov() 100 if (failb == disks-2) { in raid6_dual_recov() 109 faila, failb, ptrs, offs, &submit); in raid6_dual_recov() 120 __func__, faila, failb, disks); in raid6_dual_recov() 124 __func__, faila, failb, result); in raid6_dual_recov()
|
/openbmc/linux/fs/btrfs/ |
H A D | raid56.c | 1009 *failb = -1; in get_rbio_veritical_errors() 1726 int failb; in recover_vertical() local 1739 &failb); in recover_vertical() 1775 if (failb < 0) { in recover_vertical() 1859 if (failb >= 0) { in recover_vertical() 2006 int failb; in set_rbio_raid6_extra_error() local 2023 if (failb <= faila) in set_rbio_raid6_extra_error() 2024 failb--; in set_rbio_raid6_extra_error() 2027 if (failb >= 0) in set_rbio_raid6_extra_error() 2582 int failb; in recover_scrub_rbio() local [all …]
|
/openbmc/linux/include/linux/raid/ |
H A D | pq.h | 156 extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, 160 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/openbmc/linux/include/linux/ |
H A D | async_tx.h | 198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb,
|
/openbmc/linux/drivers/md/ |
H A D | raid5.c | 1739 int faila = -1, failb = -1; in ops_run_compute6_2() local 1774 failb = slot; in ops_run_compute6_2() 1778 BUG_ON(faila == failb); in ops_run_compute6_2() 1779 if (failb < faila) in ops_run_compute6_2() 1780 swap(faila, failb); in ops_run_compute6_2() 1782 __func__, (unsigned long long)sh->sector, faila, failb); in ops_run_compute6_2() 1786 if (failb == syndrome_disks+1) { in ops_run_compute6_2() 1837 if (failb == syndrome_disks) { in ops_run_compute6_2() 1847 faila, failb, in ops_run_compute6_2()
|