R5_Insync
!test_bit(R5_Insync, &sh->dev[sh->pd_idx].flags)) {
!test_bit(R5_Insync, &dev->flags) && s->injournal)
test_bit(R5_Insync, &sh->dev[pd_idx].flags))
(!test_bit(R5_Insync, &sh->dev[i].flags) ||
if (test_bit(R5_Insync, &dev->flags) &&
} else if (test_bit(R5_Insync, &dev->flags)) {
if (test_bit(R5_Insync, &dev->flags))
if (test_bit(R5_Insync, &dev->flags))
test_bit(R5_Insync, &dev->flags)) {
if (test_bit(R5_Insync, &dev->flags) &&
clear_bit(R5_Insync, &dev->flags);
set_bit(R5_Insync, &dev->flags);
set_bit(R5_Insync, &dev->flags);
set_bit(R5_Insync, &dev->flags);
set_bit(R5_Insync, &dev->flags);
clear_bit(R5_Insync, &dev->flags);
if (!test_bit(R5_Insync, &dev->flags)) {
clear_bit(R5_Insync, &dev->flags);
if (!test_bit(R5_Insync, &dev->flags)) {
if (!test_bit(R5_Insync, &dev->flags) ||
(s.p_failed || ((test_bit(R5_Insync, &pdev->flags)
(s.q_failed || ((test_bit(R5_Insync, &qdev->flags)