/linux-6.3-rc2/lib/raid6/ |
A D | recov.c | 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() 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() 110 if ( faila > failb ) { in raid6_dual_recov() 111 int tmp = faila; in raid6_dual_recov() 112 faila = failb; in raid6_dual_recov() [all …]
|
A 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 …]
|
A 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 …]
|
A D | recov_avx2.c | 16 static void raid6_2data_recov_avx2(int disks, size_t bytes, int faila, in raid6_2data_recov_avx2() argument 30 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx2() 31 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_avx2() 40 ptrs[faila] = dp; in raid6_2data_recov_avx2() 46 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_avx2() 47 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_avx2() 186 static void raid6_datap_recov_avx2(int disks, size_t bytes, int faila, in raid6_datap_recov_avx2() argument 198 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_avx2() 199 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_avx2() 205 ptrs[faila] = dq; in raid6_datap_recov_avx2() [all …]
|
A D | recov_ssse3.c | 16 static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, in raid6_2data_recov_ssse3() argument 32 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_ssse3() 33 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_2data_recov_ssse3() 42 ptrs[faila] = dp; in raid6_2data_recov_ssse3() 48 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_ssse3() 49 qmul = raid6_vgfmul[raid6_gfinv[raid6_gfexp[faila] ^ in raid6_2data_recov_ssse3() 191 static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, in raid6_datap_recov_ssse3() argument 205 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_ssse3() 206 ptrs[faila] = (void *)raid6_empty_zero_page; in raid6_datap_recov_ssse3() 212 ptrs[faila] = dq; in raid6_datap_recov_ssse3() [all …]
|
A 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 …]
|
/linux-6.3-rc2/crypto/async_tx/ |
A D | async_raid6_recov.c | 173 a = blocks[faila]; in __2data_recov_4() 174 a_off = offs[faila]; in __2data_recov_4() 242 dp = blocks[faila]; in __2data_recov_5() 243 dp_off = offs[faila]; in __2data_recov_5() 318 dp = blocks[faila]; in __2data_recov_n() 319 dp_off = offs[faila]; in __2data_recov_n() 320 blocks[faila] = NULL; in __2data_recov_n() 401 if (failb < faila) in async_raid6_2data_recov() 402 swap(faila, failb); in async_raid6_2data_recov() 514 if (i == faila) in async_raid6_datap_recov() [all …]
|
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() 69 if (faila == disks-2) { in raid6_dual_recov() 86 if (i == faila || i == failb) in raid6_dual_recov() 90 dest = ptrs[faila]; in raid6_dual_recov() 104 faila, ptrs, offs, &submit); 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()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | raid56.c | 1012 if (faila || failb) { in get_rbio_veritical_errors() 1018 *faila = -1; in get_rbio_veritical_errors() 1027 if (faila) { in get_rbio_veritical_errors() 1029 if (*faila < 0) in get_rbio_veritical_errors() 1725 int faila; in recover_vertical() local 1832 p = pointers[faila]; in recover_vertical() 1853 if (faila >= 0) { in recover_vertical() 2008 int faila; in set_rbio_raid6_extra_error() local 2026 if (failb <= faila) in set_rbio_raid6_extra_error() 2596 int faila; in recover_scrub_rbio() local [all …]
|
/linux-6.3-rc2/include/linux/raid/ |
A D | pq.h | 152 extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, 154 extern void (*raid6_datap_recov)(int disks, size_t bytes, int faila, 156 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/linux-6.3-rc2/include/linux/ |
A D | async_tx.h | 198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb, 203 async_raid6_datap_recov(int src_num, size_t bytes, int faila,
|
/linux-6.3-rc2/drivers/md/ |
A D | raid5.c | 1733 int faila = -1, failb = -1; in ops_run_compute6_2() local 1766 faila = slot; in ops_run_compute6_2() 1772 BUG_ON(faila == failb); in ops_run_compute6_2() 1773 if (failb < faila) in ops_run_compute6_2() 1774 swap(faila, failb); in ops_run_compute6_2() 1776 __func__, (unsigned long long)sh->sector, faila, failb); in ops_run_compute6_2() 1782 if (faila == syndrome_disks) { in ops_run_compute6_2() 1835 faila, in ops_run_compute6_2() 1841 faila, failb, in ops_run_compute6_2()
|