Lines Matching refs:R5_LOCKED
545 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe()
549 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1090 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2404 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2479 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
2872 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
2913 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
2930 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
2938 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3179 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3266 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3408 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3459 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
3578 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3589 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3610 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3618 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
3636 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3645 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
3715 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
3842 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
3848 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
3854 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
3860 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4042 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
4386 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
4419 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
4423 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
4471 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
4494 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
4500 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4505 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4534 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()