Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dmirror.c51 BlockDriverState *to_replace; member
749 BlockDriverState *to_replace = s->to_replace ?: src; in mirror_exit_common() local
750 bool ro = bdrv_is_read_only(to_replace); in mirror_exit_common()
759 bdrv_drained_begin(to_replace); in mirror_exit_common()
766 if (bdrv_recurse_can_replace(src, to_replace)) { in mirror_exit_common()
767 bdrv_replace_node(to_replace, target_bs, &local_err); in mirror_exit_common()
772 to_replace->node_name, target_bs->node_name); in mirror_exit_common()
775 bdrv_drained_end(to_replace); in mirror_exit_common()
781 if (s->to_replace) { in mirror_exit_common()
782 bdrv_op_unblock_all(s->to_replace, s->replace_blocker); in mirror_exit_common()
[all …]
H A Dblkverify.c278 BlockDriverState *to_replace) in blkverify_recurse_can_replace() argument
287 return bdrv_recurse_can_replace(bs->file->bs, to_replace) || in blkverify_recurse_can_replace()
288 bdrv_recurse_can_replace(s->test_file->bs, to_replace); in blkverify_recurse_can_replace()
H A Dquorum.c829 quorum_recurse_can_replace(BlockDriverState *bs, BlockDriverState *to_replace) in quorum_recurse_can_replace() argument
862 if (s->children[i]->bs == to_replace) { in quorum_recurse_can_replace()
873 return QLIST_FIRST(&to_replace->parents) == s->children[i] && in quorum_recurse_can_replace()
/openbmc/qemu/include/block/
H A Dblock_int-global-state.h238 BlockDriverState *to_replace);
H A Dblock_int-common.h226 BlockDriverState *bs, BlockDriverState *to_replace);
/openbmc/qemu/
H A Dblock.c7753 BlockDriverState *to_replace) in bdrv_recurse_can_replace() argument
7763 if (bs == to_replace) { in bdrv_recurse_can_replace()
7769 return bs->drv->bdrv_recurse_can_replace(bs, to_replace); in bdrv_recurse_can_replace()
7775 return bdrv_recurse_can_replace(filtered, to_replace); in bdrv_recurse_can_replace()