Lines Matching refs:R5_LOCKED

521 		    test_bit(R5_LOCKED, &dev->flags)) {  in init_stripe()
525 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
1216 clear_bit(R5_LOCKED, &sh->dev[i].flags); in ops_run_io()
2592 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_read_request()
2668 clear_bit(R5_LOCKED, &sh->dev[i].flags); in raid5_end_write_request()
3105 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3111 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3149 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3153 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3169 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3177 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3444 clear_bit(R5_LOCKED, &sh->dev[i].flags); in handle_failed_stripe()
3529 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3688 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3755 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
3889 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3900 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3923 !test_bit(R5_LOCKED, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_dirtying()
3954 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3962 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
3980 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3989 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4060 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4192 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4198 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4204 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4210 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4398 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
4772 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
4806 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
4810 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
4899 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
4922 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
4928 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4933 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
4962 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()