Lines Matching refs:R5_LOCKED
600 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe()
604 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1341 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2829 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2899 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3344 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3350 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3388 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3392 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3408 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3416 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3674 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3758 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3927 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3994 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4125 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4136 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4158 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4189 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4197 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4213 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4222 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4292 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4423 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4429 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4435 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4441 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4448 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4635 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5004 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5038 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5042 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5131 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5154 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5163 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5193 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()