/linux-6.1.9/lib/raid6/ |
D | recov.c | 21 int failb, void **ptrs) in raid6_2data_recov_intx1() argument 37 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1() 38 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_intx1() 45 ptrs[failb] = dq; 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() 108 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) in raid6_dual_recov() argument 110 if ( faila > failb ) { in raid6_dual_recov() 112 faila = failb; in raid6_dual_recov() 113 failb = tmp; in raid6_dual_recov() [all …]
|
D | recov_neon.c | 30 int failb, void **ptrs) in raid6_2data_recov_neon() argument 47 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_neon() 48 ptrs[failb] = (void *)raid6_empty_zero_page; in raid6_2data_recov_neon() 55 ptrs[failb] = dq; in raid6_2data_recov_neon() 60 pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]]; in raid6_2data_recov_neon() 62 raid6_gfexp[failb]]]; in raid6_2data_recov_neon()
|
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()
|
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()
|
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()
|
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()
|
/linux-6.1.9/crypto/async_tx/ |
D | async_raid6_recov.c | 153 __2data_recov_4(int disks, size_t bytes, int faila, int failb, in __2data_recov_4() argument 175 b = blocks[failb]; in __2data_recov_4() 176 b_off = offs[failb]; in __2data_recov_4() 184 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_4() 185 coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]; in __2data_recov_4() 203 __2data_recov_5(int disks, size_t bytes, int faila, int failb, in __2data_recov_5() argument 224 if (i == faila || i == failb) in __2data_recov_5() 244 dq = blocks[failb]; in __2data_recov_5() 245 dq_off = offs[failb]; in __2data_recov_5() 276 coef[0] = raid6_gfexi[failb-faila]; in __2data_recov_5() [all …]
|
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()
|
/linux-6.1.9/fs/btrfs/ |
D | raid56.c | 534 int fb = last->failb; in rbio_can_merge() 536 int cur_fb = cur->failb; in rbio_can_merge() 538 if (last->faila >= last->failb) { in rbio_can_merge() 539 fa = last->failb; in rbio_can_merge() 543 if (cur->faila >= cur->failb) { in rbio_can_merge() 544 cur_fa = cur->failb; in rbio_can_merge() 954 rbio->failb = -1; in alloc_rbio() 1083 if (rbio->faila >= 0 || rbio->failb >= 0) { in validate_rbio_for_rmw() 1409 if (rbio->faila == failed || rbio->failb == failed) in fail_rbio_index() 1416 } else if (rbio->failb == -1) { in fail_rbio_index() [all …]
|
D | raid56.h | 81 s8 failb; member
|
/linux-6.1.9/include/linux/raid/ |
D | pq.h | 160 extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, 164 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/linux-6.1.9/include/linux/ |
D | async_tx.h | 198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb,
|
/linux-6.1.9/drivers/md/ |
D | raid5.c | 1733 int faila = -1, failb = -1; in ops_run_compute6_2() local 1768 failb = 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() 1780 if (failb == syndrome_disks+1) { in ops_run_compute6_2() 1831 if (failb == syndrome_disks) { in ops_run_compute6_2() 1841 faila, failb, in ops_run_compute6_2()
|