Lines Matching refs:R5_LOCKED
590 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe()
594 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1289 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2789 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2865 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3311 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3317 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3355 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3359 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3375 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3383 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3650 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3736 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3905 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3972 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
4106 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4117 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4140 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
4171 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4179 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4195 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
4204 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4273 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4405 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4411 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4417 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4423 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4430 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4620 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
4998 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
5032 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
5036 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
5125 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5148 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
5157 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5185 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()