Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-bdrv-drain.c721 BlockDriverState *src, *src_backing, *src_overlay, *target, *drain_bs; in test_blockjob_common_drain_node() local
744 drain_bs = src; in test_blockjob_common_drain_node()
747 drain_bs = src_backing; in test_blockjob_common_drain_node()
806 do_drain_begin_unlocked(drain_type, drain_bs); in test_blockjob_common_drain_node()
819 do_drain_end_unlocked(drain_type, drain_bs); in test_blockjob_common_drain_node()
/openbmc/qemu/
H A Dblock.c3557 BlockDriverState *drain_bs; in bdrv_set_backing_hd() local
3562 drain_bs = bs->backing ? bs->backing->bs : bs; in bdrv_set_backing_hd()
3565 bdrv_ref(drain_bs); in bdrv_set_backing_hd()
3566 bdrv_drained_begin(drain_bs); in bdrv_set_backing_hd()
3570 bdrv_drained_end(drain_bs); in bdrv_set_backing_hd()
3571 bdrv_unref(drain_bs); in bdrv_set_backing_hd()