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()
1289 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2789 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2865 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3314 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3320 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3358 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3362 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3378 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3386 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3653 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3739 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3908 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3975 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4109 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4120 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4143 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4174 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4182 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4198 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4207 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4276 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4408 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4414 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4420 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4426 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4433 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4623 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5001 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5035 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5039 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5128 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5151 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5160 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5188 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()