/linux/lib/raid6/ |
A 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() 110 if ( faila > failb ) { in raid6_dual_recov() 112 faila = failb; in raid6_dual_recov() 113 failb = tmp; in raid6_dual_recov() 116 if ( failb == disks-1 ) { in raid6_dual_recov() 126 if ( failb == disks-2 ) { in raid6_dual_recov() [all …]
|
A 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()
|
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()
|
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()
|
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()
|
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()
|
/linux/crypto/async_tx/ |
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 …]
|
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()
|
/linux/fs/btrfs/ |
A D | raid56.c | 125 int failb; member 583 int fb = last->failb; in rbio_can_merge() 588 fa = last->failb; in rbio_can_merge() 593 cur_fa = cur->failb; in rbio_can_merge() 994 rbio->failb = -1; in alloc_rbio() 1800 failb = rbio->failb; in __raid_recover_end_io() 1848 if (failb < 0) { in __raid_recover_end_io() 1866 if (faila > failb) in __raid_recover_end_io() 1926 if (failb != -1) { in __raid_recover_end_io() 1973 rbio->failb = -1; in __raid_recover_end_io() [all …]
|
/linux/include/linux/raid/ |
A 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/include/linux/ |
A D | async_tx.h | 198 async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb,
|
/linux/drivers/md/ |
A D | raid5.c | 1662 int faila = -1, failb = -1; in ops_run_compute6_2() local 1697 failb = slot; in ops_run_compute6_2() 1701 BUG_ON(faila == failb); in ops_run_compute6_2() 1702 if (failb < faila) in ops_run_compute6_2() 1703 swap(faila, failb); in ops_run_compute6_2() 1705 __func__, (unsigned long long)sh->sector, faila, failb); in ops_run_compute6_2() 1709 if (failb == syndrome_disks+1) { in ops_run_compute6_2() 1760 if (failb == syndrome_disks) { in ops_run_compute6_2() 1770 faila, failb, in ops_run_compute6_2()
|