Lines Matching refs:failb

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()
1418 rbio->failb = failed; in fail_rbio_index()
1865 int faila = -1, failb = -1; in __raid_recover_end_io() local
1890 failb = rbio->failb; in __raid_recover_end_io()
1925 (stripe == faila || stripe == failb)) { in __raid_recover_end_io()
1939 if (failb < 0) { in __raid_recover_end_io()
1957 if (faila > failb) in __raid_recover_end_io()
1958 swap(faila, failb); in __raid_recover_end_io()
1966 if (rbio->bioc->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io()
1979 if (rbio->bioc->raid_map[failb] == RAID5_P_STRIPE) { in __raid_recover_end_io()
1984 sectorsize, faila, failb, in __raid_recover_end_io()
1991 BUG_ON(failb != -1); in __raid_recover_end_io()
2017 if (failb != -1) { in __raid_recover_end_io()
2018 sector = rbio_stripe_sector(rbio, failb, i); in __raid_recover_end_io()
2056 if (err == BLK_STS_OK && rbio->failb < 0) in __raid_recover_end_io()
2064 rbio->failb = -1; in __raid_recover_end_io()
2130 if (rbio->faila == stripe || rbio->failb == stripe) { in __raid56_parity_recover()
2233 rbio->failb = rbio->real_stripes - (mirror_num - 1); in raid56_parity_recover()
2234 ASSERT(rbio->failb > 0); in raid56_parity_recover()
2235 if (rbio->failb <= rbio->faila) in raid56_parity_recover()
2236 rbio->failb--; in raid56_parity_recover()
2550 if (rbio->faila >= 0 || rbio->failb >= 0) { in validate_rbio_for_parity_scrub()
2558 if (is_data_stripe(rbio, rbio->failb)) in validate_rbio_for_parity_scrub()
2560 else if (is_parity_stripe(rbio->failb)) in validate_rbio_for_parity_scrub()
2561 failp = rbio->failb; in validate_rbio_for_parity_scrub()