Lines Matching refs:failb
993 * @faila and @failb will also be updated to the first and second stripe
997 int *faila, int *failb)
1002 if (faila || failb) {
1004 * Both @faila and @failb should be valid pointers if any of
1007 ASSERT(faila && failb);
1009 *failb = -1;
1018 /* Update faila and failb. */
1021 else if (*failb < 0)
1022 *failb = stripe_nr;
1726 int failb;
1739 &failb);
1775 if (failb < 0) {
1798 if (failb == rbio->real_stripes - 1) {
1813 if (failb == rbio->real_stripes - 2) {
1818 faila, failb, pointers);
1824 ASSERT(failb == -1);
1859 if (failb >= 0) {
1860 ret = verify_one_sector(rbio, failb, sector_nr);
1864 sector = rbio_stripe_sector(rbio, failb, sector_nr);
2006 int failb;
2009 &faila, &failb);
2022 failb = rbio->real_stripes - (mirror_num - 1);
2023 if (failb <= faila)
2024 failb--;
2027 if (failb >= 0)
2028 set_bit(failb * rbio->stripe_nsectors + sector_nr,
2582 int failb;
2586 &faila, &failb);
2595 ASSERT(faila >= 0 || failb >= 0);
2602 if (is_data_stripe(rbio, failb))
2604 else if (is_parity_stripe(failb))
2605 failp = failb;