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()
1367 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2879 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2954 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3399 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3405 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3443 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3447 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3463 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3471 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3762 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3848 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
4017 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
4084 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4218 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4229 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4252 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4283 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4291 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4307 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4316 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4385 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4517 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4523 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4529 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4535 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4542 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4733 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
5111 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5145 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5149 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5238 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5261 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5270 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5300 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()