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
745 if (s->to_replace) { in mirror_exit_common()
751 BlockDriverState *to_replace = s->to_replace ?: src; in mirror_exit_common() local
752 bool ro = bdrv_is_read_only(to_replace); in mirror_exit_common()
761 bdrv_drained_begin(to_replace); in mirror_exit_common()
777 bdrv_drained_end(to_replace); in mirror_exit_common()
783 if (s->to_replace) { in mirror_exit_common()
786 bdrv_unref(s->to_replace); in mirror_exit_common()
1196 s->to_replace = bdrv_find_node(s->replaces); in mirror_complete()
1197 if (!s->to_replace) { in mirror_complete()
[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.h232 BlockDriverState *to_replace);
H A Dblock_int-common.h226 BlockDriverState *bs, BlockDriverState *to_replace);
/openbmc/qemu/
H A Dblock.c7965 BlockDriverState *to_replace) in bdrv_recurse_can_replace() argument
7975 if (bs == to_replace) { in bdrv_recurse_can_replace()
7981 return bs->drv->bdrv_recurse_can_replace(bs, to_replace); in bdrv_recurse_can_replace()
7987 return bdrv_recurse_can_replace(filtered, to_replace); in bdrv_recurse_can_replace()