Lines Matching refs:failb
1090 * @faila and @failb will also be updated to the first and second stripe
1094 int *faila, int *failb)
1099 if (faila || failb) {
1101 * Both @faila and @failb should be valid pointers if any of
1104 ASSERT(faila && failb);
1106 *failb = -1;
1115 /* Update faila and failb. */
1118 else if (*failb < 0)
1119 *failb = stripe_nr;
1846 int failb;
1859 &failb);
1893 if (failb < 0) {
1916 if (failb == rbio->real_stripes - 1) {
1931 if (failb == rbio->real_stripes - 2) {
1936 faila, failb, pointers);
1942 ASSERT(failb == -1);
1977 if (failb >= 0) {
1978 ret = verify_one_sector(rbio, failb, sector_nr);
1982 sector = rbio_stripe_sector(rbio, failb, sector_nr);
2124 int failb;
2127 &faila, &failb);
2140 failb = rbio->real_stripes - (mirror_num - 1);
2141 if (failb <= faila)
2142 failb--;
2145 if (failb >= 0)
2146 set_bit(failb * rbio->stripe_nsectors + sector_nr,
2703 int failb;
2707 &faila, &failb);
2716 ASSERT(faila >= 0 || failb >= 0);
2723 if (is_data_stripe(rbio, failb))
2725 else if (is_parity_stripe(failb))
2726 failp = failb;