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()
1349 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2837 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2907 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3352 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3358 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3396 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3400 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3416 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3424 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3682 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3766 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3935 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
4002 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4133 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4144 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4166 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4197 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4205 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4221 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4230 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4300 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4431 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4437 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4443 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4449 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4456 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4643 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5012 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5046 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5050 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5139 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5162 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5171 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5201 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()