Lines Matching refs:R5_LOCKED

599 		    test_bit(R5_LOCKED, &dev->flags)) {  in init_stripe()
603 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1360 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2872 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2947 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3392 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3398 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3436 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3440 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3456 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3464 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3755 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3841 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
4010 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
4077 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4211 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4222 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4245 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4276 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4284 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4300 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4309 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4378 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4510 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4516 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4522 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4528 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4535 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4726 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5104 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5138 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5142 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5231 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5254 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5263 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5293 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()