Lines Matching refs:R5_LOCKED

604 		    test_bit(R5_LOCKED, &dev->flags)) {  in init_stripe()
608 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1360 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2844 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2914 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3358 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3364 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3402 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3406 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3422 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3430 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3687 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3848 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
4004 if (test_bit(R5_LOCKED, &sh->dev[other].flags)) in fetch_block()
4019 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
4086 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4224 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4235 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4257 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4288 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4296 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4312 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4321 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4391 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4522 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4528 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4534 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4540 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4547 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4720 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5123 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5157 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5161 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5250 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5273 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5282 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5312 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()