Lines Matching refs:failed_num
3835 struct r5dev *fdev[2] = { &sh->dev[s->failed_num[0]], in need_this_block()
3836 &sh->dev[s->failed_num[1]] }; in need_this_block()
3900 s->failed_num[i] == sh->pd_idx || in need_this_block()
3901 s->failed_num[i] == sh->qd_idx) && in need_this_block()
3922 if (s->failed_num[i] != sh->pd_idx && in need_this_block()
3923 s->failed_num[i] != sh->qd_idx && in need_this_block()
3963 (s->failed && (disk_idx == s->failed_num[0] || in fetch_block()
3964 disk_idx == s->failed_num[1])))) { in fetch_block()
4363 dev = &sh->dev[s->failed_num[0]]; in handle_parity_checks5()
4508 dev = &sh->dev[s->failed_num[1]]; in handle_parity_checks6()
4514 dev = &sh->dev[s->failed_num[0]]; in handle_parity_checks6()
4699 s->failed_num[0] = -1; in analyse_stripe()
4700 s->failed_num[1] = -1; in analyse_stripe()
4846 s->failed_num[s->failed] = i; in analyse_stripe()
5065 s.failed_num[0], s.failed_num[1]); in handle_stripe()
5129 s.p_failed = (s.failed >= 1 && s.failed_num[0] == sh->pd_idx) in handle_stripe()
5130 || (s.failed >= 2 && s.failed_num[1] == sh->pd_idx); in handle_stripe()
5132 s.q_failed = (s.failed >= 1 && s.failed_num[0] == sh->qd_idx) in handle_stripe()
5133 || (s.failed >= 2 && s.failed_num[1] == sh->qd_idx) in handle_stripe()
5252 struct r5dev *dev = &sh->dev[s.failed_num[i]]; in handle_stripe()