Lines Matching refs:test_bit
309 if (!test_bit(RBIO_CACHE_READY_BIT, &src->flags)) in steal_rbio()
357 if (!test_bit(RBIO_CACHE_BIT, &rbio->flags)) in __remove_rbio_from_cache()
412 if (!test_bit(RBIO_CACHE_BIT, &rbio->flags)) in remove_rbio_from_cache()
472 if (!test_bit(RBIO_CACHE_READY_BIT, &rbio->flags)) in cache_rbio()
571 if (test_bit(RBIO_RMW_LOCKED_BIT, &last->flags) || in rbio_can_merge()
572 test_bit(RBIO_RMW_LOCKED_BIT, &cur->flags)) in rbio_can_merge()
582 if (test_bit(RBIO_CACHE_BIT, &last->flags) || in rbio_can_merge()
583 test_bit(RBIO_CACHE_BIT, &cur->flags)) in rbio_can_merge()
675 test_bit(RBIO_CACHE_BIT, &cur->flags) && in lock_stripe_add()
676 !test_bit(RBIO_RMW_LOCKED_BIT, &cur->flags)) { in lock_stripe_add()
765 test_bit(RBIO_CACHE_BIT, &rbio->flags)) { in unlock_stripe()
1074 test_bit(BIO_UPTODATE, &last->bi_flags) && in rbio_add_io_page()
1315 BUG_ON(!test_bit(BIO_UPTODATE, &bio->bi_flags)); in finish_rmw()
1575 BUG_ON(!test_bit(BIO_UPTODATE, &bio->bi_flags)); in raid56_rmw_stripe()
1826 !test_bit(pagenr, rbio->dbitmap)) in __raid_recover_end_io()
2097 BUG_ON(!test_bit(BIO_UPTODATE, &bio->bi_flags)); in __raid56_parity_recover()
2453 BUG_ON(!test_bit(BIO_UPTODATE, &bio->bi_flags)); in finish_parity_scrub()
2635 BUG_ON(!test_bit(BIO_UPTODATE, &bio->bi_flags)); in raid56_parity_scrub_stripe()