failb             146 crypto/async_tx/async_raid6_recov.c __2data_recov_4(int disks, size_t bytes, int faila, int failb,
failb             162 crypto/async_tx/async_raid6_recov.c 	b = blocks[failb];
failb             168 crypto/async_tx/async_raid6_recov.c 	coef[0] = raid6_gfexi[failb-faila];
failb             169 crypto/async_tx/async_raid6_recov.c 	coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
failb             185 crypto/async_tx/async_raid6_recov.c __2data_recov_5(int disks, size_t bytes, int faila, int failb,
failb             203 crypto/async_tx/async_raid6_recov.c 		if (i == faila || i == failb)
failb             219 crypto/async_tx/async_raid6_recov.c 	dq = blocks[failb];
failb             243 crypto/async_tx/async_raid6_recov.c 	coef[0] = raid6_gfexi[failb-faila];
failb             244 crypto/async_tx/async_raid6_recov.c 	coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
failb             259 crypto/async_tx/async_raid6_recov.c __2data_recov_n(int disks, size_t bytes, int faila, int failb,
failb             281 crypto/async_tx/async_raid6_recov.c 	dq = blocks[failb];
failb             282 crypto/async_tx/async_raid6_recov.c 	blocks[failb] = NULL;
failb             290 crypto/async_tx/async_raid6_recov.c 	blocks[failb]   = dq;
failb             311 crypto/async_tx/async_raid6_recov.c 	coef[0] = raid6_gfexi[failb-faila];
failb             312 crypto/async_tx/async_raid6_recov.c 	coef[1] = raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]];
failb             336 crypto/async_tx/async_raid6_recov.c async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb,
failb             342 crypto/async_tx/async_raid6_recov.c 	BUG_ON(faila == failb);
failb             343 crypto/async_tx/async_raid6_recov.c 	if (failb < faila)
failb             344 crypto/async_tx/async_raid6_recov.c 		swap(faila, failb);
failb             363 crypto/async_tx/async_raid6_recov.c 		raid6_2data_recov(disks, bytes, faila, failb, ptrs);
failb             386 crypto/async_tx/async_raid6_recov.c 		return __2data_recov_4(disks, bytes, faila, failb, blocks, submit);
failb             393 crypto/async_tx/async_raid6_recov.c 		return __2data_recov_5(disks, bytes, faila, failb, blocks, submit);
failb             395 crypto/async_tx/async_raid6_recov.c 		return __2data_recov_n(disks, bytes, faila, failb, blocks, submit);
failb              55 crypto/async_tx/raid6test.c static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, struct page **ptrs)
failb              62 crypto/async_tx/raid6test.c 	if (faila > failb)
failb              63 crypto/async_tx/raid6test.c 		swap(faila, failb);
failb              65 crypto/async_tx/raid6test.c 	if (failb == disks-1) {
failb              82 crypto/async_tx/raid6test.c 				if (i == faila || i == failb)
failb              95 crypto/async_tx/raid6test.c 		if (failb == disks-2) {
failb             102 crypto/async_tx/raid6test.c 			tx = async_raid6_2data_recov(disks, bytes, faila, failb, ptrs, &submit);
failb             112 crypto/async_tx/raid6test.c 		   __func__, faila, failb, disks);
failb             116 crypto/async_tx/raid6test.c 		   __func__, faila, failb, result);
failb            1550 drivers/md/raid5.c 	int faila = -1, failb = -1;
failb            1581 drivers/md/raid5.c 			failb = slot;
failb            1585 drivers/md/raid5.c 	BUG_ON(faila == failb);
failb            1586 drivers/md/raid5.c 	if (failb < faila)
failb            1587 drivers/md/raid5.c 		swap(faila, failb);
failb            1589 drivers/md/raid5.c 		 __func__, (unsigned long long)sh->sector, faila, failb);
failb            1593 drivers/md/raid5.c 	if (failb == syndrome_disks+1) {
failb            1638 drivers/md/raid5.c 		if (failb == syndrome_disks) {
failb            1646 drivers/md/raid5.c 						       STRIPE_SIZE, faila, failb,
failb             125 fs/btrfs/raid56.c 	int failb;
failb             595 fs/btrfs/raid56.c 		int fb = last->failb;
failb             597 fs/btrfs/raid56.c 		int cur_fb = cur->failb;
failb             599 fs/btrfs/raid56.c 		if (last->faila >= last->failb) {
failb             600 fs/btrfs/raid56.c 			fa = last->failb;
failb             604 fs/btrfs/raid56.c 		if (cur->faila >= cur->failb) {
failb             605 fs/btrfs/raid56.c 			cur_fa = cur->failb;
failb            1009 fs/btrfs/raid56.c 	rbio->failb = -1;
failb            1142 fs/btrfs/raid56.c 	if (rbio->faila >= 0 || rbio->failb >= 0) {
failb            1419 fs/btrfs/raid56.c 	if (rbio->faila == failed || rbio->failb == failed)
failb            1426 fs/btrfs/raid56.c 	} else if (rbio->failb == -1) {
failb            1428 fs/btrfs/raid56.c 		rbio->failb = failed;
failb            1814 fs/btrfs/raid56.c 	int faila = -1, failb = -1;
failb            1826 fs/btrfs/raid56.c 	failb = rbio->failb;
failb            1856 fs/btrfs/raid56.c 			    (stripe == faila || stripe == failb)) {
failb            1870 fs/btrfs/raid56.c 			if (failb < 0) {
failb            1888 fs/btrfs/raid56.c 			if (faila > failb) {
failb            1889 fs/btrfs/raid56.c 				int tmp = failb;
failb            1890 fs/btrfs/raid56.c 				failb = faila;
failb            1900 fs/btrfs/raid56.c 			if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) {
failb            1913 fs/btrfs/raid56.c 			if (rbio->bbio->raid_map[failb] == RAID5_P_STRIPE) {
failb            1918 fs/btrfs/raid56.c 						  PAGE_SIZE, faila, failb,
failb            1925 fs/btrfs/raid56.c 			BUG_ON(failb != -1);
failb            1951 fs/btrfs/raid56.c 				if (failb != -1) {
failb            1952 fs/btrfs/raid56.c 					page = rbio_stripe_page(rbio, failb, i);
failb            1964 fs/btrfs/raid56.c 			    (stripe == faila || stripe == failb)) {
failb            2000 fs/btrfs/raid56.c 		if (err == BLK_STS_OK && rbio->failb < 0)
failb            2008 fs/btrfs/raid56.c 		rbio->failb = -1;
failb            2079 fs/btrfs/raid56.c 		if (rbio->faila == stripe || rbio->failb == stripe) {
failb            2209 fs/btrfs/raid56.c 		rbio->failb = rbio->real_stripes - (mirror_num - 1);
failb            2210 fs/btrfs/raid56.c 		ASSERT(rbio->failb > 0);
failb            2211 fs/btrfs/raid56.c 		if (rbio->failb <= rbio->faila)
failb            2212 fs/btrfs/raid56.c 			rbio->failb--;
failb            2535 fs/btrfs/raid56.c 	if (rbio->faila >= 0 || rbio->failb >= 0) {
failb            2543 fs/btrfs/raid56.c 		if (is_data_stripe(rbio, rbio->failb))
failb            2545 fs/btrfs/raid56.c 		else if (is_parity_stripe(rbio->failb))
failb            2546 fs/btrfs/raid56.c 			failp = rbio->failb;
failb             187 include/linux/async_tx.h async_raid6_2data_recov(int src_num, size_t bytes, int faila, int failb,
failb             156 include/linux/raid/pq.h extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb,
failb             160 include/linux/raid/pq.h void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
failb              21 lib/raid6/recov.c 		int failb, void **ptrs)
failb              37 lib/raid6/recov.c 	dq = (u8 *)ptrs[failb];
failb              38 lib/raid6/recov.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              45 lib/raid6/recov.c 	ptrs[failb]   = dq;
failb              50 lib/raid6/recov.c 	pbmul = raid6_gfmul[raid6_gfexi[failb-faila]];
failb              51 lib/raid6/recov.c 	qmul  = raid6_gfmul[raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]];
failb             108 lib/raid6/recov.c void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs)
failb             110 lib/raid6/recov.c 	if ( faila > failb ) {
failb             112 lib/raid6/recov.c 		faila = failb;
failb             113 lib/raid6/recov.c 		failb = tmp;
failb             116 lib/raid6/recov.c 	if ( failb == disks-1 ) {
failb             126 lib/raid6/recov.c 		if ( failb == disks-2 ) {
failb             131 lib/raid6/recov.c 			raid6_2data_recov(disks, bytes, faila, failb, ptrs);
failb              19 lib/raid6/recov_avx2.c 		int failb, void **ptrs)
failb              35 lib/raid6/recov_avx2.c 	dq = (u8 *)ptrs[failb];
failb              36 lib/raid6/recov_avx2.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              43 lib/raid6/recov_avx2.c 	ptrs[failb]   = dq;
failb              48 lib/raid6/recov_avx2.c 	pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]];
failb              50 lib/raid6/recov_avx2.c 		raid6_gfexp[failb]]];
failb              25 lib/raid6/recov_avx512.c 				     int failb, void **ptrs)
failb              44 lib/raid6/recov_avx512.c 	dq = (u8 *)ptrs[failb];
failb              45 lib/raid6/recov_avx512.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              52 lib/raid6/recov_avx512.c 	ptrs[failb]   = dq;
failb              57 lib/raid6/recov_avx512.c 	pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]];
failb              59 lib/raid6/recov_avx512.c 		raid6_gfexp[failb]]];
failb              30 lib/raid6/recov_neon.c 		int failb, void **ptrs)
failb              47 lib/raid6/recov_neon.c 	dq = (u8 *)ptrs[failb];
failb              48 lib/raid6/recov_neon.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              55 lib/raid6/recov_neon.c 	ptrs[failb]     = dq;
failb              60 lib/raid6/recov_neon.c 	pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]];
failb              62 lib/raid6/recov_neon.c 					 raid6_gfexp[failb]]];
failb              24 lib/raid6/recov_s390xc.c 		int failb, void **ptrs)
failb              40 lib/raid6/recov_s390xc.c 	dq = (u8 *)ptrs[failb];
failb              41 lib/raid6/recov_s390xc.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              48 lib/raid6/recov_s390xc.c 	ptrs[failb]   = dq;
failb              53 lib/raid6/recov_s390xc.c 	pbmul = raid6_gfmul[raid6_gfexi[failb-faila]];
failb              54 lib/raid6/recov_s390xc.c 	qmul  = raid6_gfmul[raid6_gfinv[raid6_gfexp[faila]^raid6_gfexp[failb]]];
failb              19 lib/raid6/recov_ssse3.c 		int failb, void **ptrs)
failb              37 lib/raid6/recov_ssse3.c 	dq = (u8 *)ptrs[failb];
failb              38 lib/raid6/recov_ssse3.c 	ptrs[failb] = (void *)raid6_empty_zero_page;
failb              45 lib/raid6/recov_ssse3.c 	ptrs[failb]   = dq;
failb              50 lib/raid6/recov_ssse3.c 	pbmul = raid6_vgfmul[raid6_gfexi[failb-faila]];
failb              52 lib/raid6/recov_ssse3.c 		raid6_gfexp[failb]]];