Lines Matching defs:failb
1000 * @faila and @failb will also be updated to the first and second stripe
1004 int *faila, int *failb)
1009 if (faila || failb) {
1011 * Both @faila and @failb should be valid pointers if any of
1014 ASSERT(faila && failb);
1016 *failb = -1;
1025 /* Update faila and failb. */
1028 else if (*failb < 0)
1029 *failb = stripe_nr;
1753 int failb;
1766 &failb);
1802 if (failb < 0) {
1825 if (failb == rbio->real_stripes - 1) {
1840 if (failb == rbio->real_stripes - 2) {
1845 faila, failb, pointers);
1851 ASSERT(failb == -1);
1886 if (failb >= 0) {
1887 ret = verify_one_sector(rbio, failb, sector_nr);
1891 sector = rbio_stripe_sector(rbio, failb, sector_nr);
2033 int failb;
2036 &faila, &failb);
2049 failb = rbio->real_stripes - (mirror_num - 1);
2050 if (failb <= faila)
2051 failb--;
2054 if (failb >= 0)
2055 set_bit(failb * rbio->stripe_nsectors + sector_nr,
2610 int failb;
2614 &faila, &failb);
2623 ASSERT(faila >= 0 || failb >= 0);
2630 if (is_data_stripe(rbio, failb))
2632 else if (is_parity_stripe(failb))
2633 failp = failb;