Home
last modified time | relevance | path

Searched refs:failb (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/lib/raid6/
H A Drecov.c20 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 Drecov_loongarch_simd.c30 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 Drecov_neon.c24 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 Drecov_s390xc.c24 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 Drecov_avx2.c17 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 Drecov_ssse3.c17 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 Drecov_avx512.c25 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 Dasync_raid6_recov.c175 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 Draid6test.c57 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 Draid56.c1009 *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 Dpq.h156 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 Dasync_tx.h198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb,
/openbmc/linux/drivers/md/
H A Draid5.c1739 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()