Lines Matching refs:R5_LOCKED
512 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe()
516 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1211 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2587 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2663 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3112 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3118 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3156 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3160 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3176 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3184 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3451 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3536 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3695 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3762 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
3896 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3907 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3930 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
3961 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3969 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
3987 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3996 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4067 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4199 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4205 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4211 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4217 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4224 clear_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4413 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
4786 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
4820 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
4824 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
4913 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
4936 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
4942 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4947 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4976 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()