Home
last modified time | relevance | path

Searched refs:bs_parents (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-bdrv-drain.c1518 BlockDriverState *bs_child, *bs_parents[3]; in test_blockjob_commit_by_drained_end() local
1529 bs_parents[i] = bdrv_new_open_driver(&bdrv_test, name, BDRV_O_RDWR, in test_blockjob_commit_by_drained_end()
1531 bdrv_set_backing_hd(bs_parents[i], bs_child, &error_abort); in test_blockjob_commit_by_drained_end()
1535 bs_parents[2], 0, BLK_PERM_ALL, 0, 0, NULL, NULL, in test_blockjob_commit_by_drained_end()
1537 job->bs = bs_parents[2]; in test_blockjob_commit_by_drained_end()
1539 job->detach_also = bs_parents[0]; in test_blockjob_commit_by_drained_end()
1551 bdrv_unref(bs_parents[0]); in test_blockjob_commit_by_drained_end()
1552 bdrv_unref(bs_parents[1]); in test_blockjob_commit_by_drained_end()
1553 bdrv_unref(bs_parents[2]); in test_blockjob_commit_by_drained_end()