Lines Matching refs:R5_LOCKED

589 		    test_bit(R5_LOCKED, &dev->flags)) {  in init_stripe()
593 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1288 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2788 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2864 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3313 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3319 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3357 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3361 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3377 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3385 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3652 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3738 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3907 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3974 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4108 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4119 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4142 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4173 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4181 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4197 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4206 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4275 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4407 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4413 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4419 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4425 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4432 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4622 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5000 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5034 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5038 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5127 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5150 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5159 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5187 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()