Searched refs:drain_bs (Results 1 – 2 of 2) sorted by relevance
721 BlockDriverState *src, *src_backing, *src_overlay, *target, *drain_bs; in test_blockjob_common_drain_node() local744 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()
3557 BlockDriverState *drain_bs; in bdrv_set_backing_hd() local3562 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()