Searched refs:bs_a (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-block-iothread.c | 618 BlockDriverState *bs_a, *bs_b, *bs_verify; in test_propagate_basic() local 628 bs_a = bdrv_new_open_driver(&bdrv_test, "bs_a", BDRV_O_RDWR, &error_abort); in test_propagate_basic() 629 blk_insert_bs(blk, bs_a, &error_abort); in test_propagate_basic() 645 g_assert(bdrv_get_aio_context(bs_a) == ctx); in test_propagate_basic() 653 g_assert(bdrv_get_aio_context(bs_a) == main_ctx); in test_propagate_basic() 659 bdrv_unref(bs_a); in test_propagate_basic() 682 BlockDriverState *bs_a, *bs_b, *bs_c, *bs_verify; in test_propagate_diamond() local 686 bs_a = bdrv_new_open_driver(&bdrv_test, "bs_a", BDRV_O_RDWR, &error_abort); in test_propagate_diamond() 721 g_assert(bdrv_get_aio_context(bs_a) == ctx); in test_propagate_diamond() 730 g_assert(bdrv_get_aio_context(bs_a) == main_ctx); in test_propagate_diamond() [all …]
|
H A D | test-bdrv-drain.c | 427 BlockDriverState *bs_a, *bs_b; in test_graph_change_drain_all() local 432 bs_a = bdrv_new_open_driver(&bdrv_test, "test-node-a", BDRV_O_RDWR, in test_graph_change_drain_all() 434 a_s = bs_a->opaque; in test_graph_change_drain_all() 435 blk_insert_bs(blk_a, bs_a, &error_abort); in test_graph_change_drain_all() 437 g_assert_cmpint(bs_a->quiesce_counter, ==, 0); in test_graph_change_drain_all() 443 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all() 453 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all() 461 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all() 466 bdrv_unref(bs_a); in test_graph_change_drain_all()
|