Lines Matching defs:failb
1169 * @faila and @failb will also be updated to the first and second stripe
1173 int *faila, int *failb)
1178 if (faila || failb) {
1180 * Both @faila and @failb should be valid pointers if any of
1183 ASSERT(faila && failb);
1185 *failb = -1;
1194 /* Update faila and failb. */
1197 else if (*failb < 0)
1198 *failb = stripe_nr;
1937 int faila, int failb,
1972 if (failb < 0) {
1995 if (failb == rbio->real_stripes - 1) {
2010 if (failb == rbio->real_stripes - 2) {
2015 faila, failb, pointers);
2021 ASSERT(failb == -1);
2052 int failb;
2064 &failb);
2076 recover_vertical_step(rbio, sector_nr, i, faila, failb,
2086 if (failb >= 0) {
2087 ret = verify_one_sector(rbio, failb, sector_nr);
2091 set_bit(rbio_sector_index(rbio, failb, sector_nr),
2229 int failb;
2232 &faila, &failb);
2245 failb = rbio->real_stripes - (mirror_num - 1);
2246 if (failb <= faila)
2247 failb--;
2250 if (failb >= 0)
2251 set_bit(failb * rbio->stripe_nsectors + sector_nr,
2846 int failb;
2850 &faila, &failb);
2859 ASSERT(faila >= 0 || failb >= 0);
2866 if (is_data_stripe(rbio, failb))
2868 else if (is_parity_stripe(failb))
2869 failp = failb;