Lines Matching defs:failb
125 int failb;
596 int fb = last->failb;
598 int cur_fb = cur->failb;
600 if (last->faila >= last->failb) {
601 fa = last->failb;
605 if (cur->faila >= cur->failb) {
606 cur_fa = cur->failb;
1014 rbio->failb = -1;
1146 if (rbio->faila >= 0 || rbio->failb >= 0) {
1422 if (rbio->faila == failed || rbio->failb == failed)
1429 } else if (rbio->failb == -1) {
1431 rbio->failb = failed;
1840 int faila = -1, failb = -1;
1852 failb = rbio->failb;
1882 (stripe == faila || stripe == failb)) {
1896 if (failb < 0) {
1914 if (faila > failb)
1915 swap(faila, failb);
1923 if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) {
1936 if (rbio->bbio->raid_map[failb] == RAID5_P_STRIPE) {
1941 PAGE_SIZE, faila, failb,
1948 BUG_ON(failb != -1);
1974 if (failb != -1) {
1975 page = rbio_stripe_page(rbio, failb, i);
1987 (stripe == faila || stripe == failb)) {
2009 * - In case of two failures, where rbio->failb != -1:
2018 * - In case of single failure, where rbio->failb == -1:
2023 if (err == BLK_STS_OK && rbio->failb < 0)
2031 rbio->failb = -1;
2105 if (rbio->faila == stripe || rbio->failb == stripe) {
2220 rbio->failb = rbio->real_stripes - (mirror_num - 1);
2221 ASSERT(rbio->failb > 0);
2222 if (rbio->failb <= rbio->faila)
2223 rbio->failb--;
2537 if (rbio->faila >= 0 || rbio->failb >= 0) {
2545 if (is_data_stripe(rbio, rbio->failb))
2547 else if (is_parity_stripe(rbio->failb))
2548 failp = rbio->failb;