Searched refs:to_replace (Results 1 – 6 of 6) sorted by relevance
51 BlockDriverState *to_replace; member745 if (s->to_replace) { in mirror_exit_common()751 BlockDriverState *to_replace = s->to_replace ?: src; in mirror_exit_common() local752 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 …]
278 BlockDriverState *to_replace) in blkverify_recurse_can_replace() argument287 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()
829 quorum_recurse_can_replace(BlockDriverState *bs, BlockDriverState *to_replace) in quorum_recurse_can_replace() argument862 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()
232 BlockDriverState *to_replace);
226 BlockDriverState *bs, BlockDriverState *to_replace);
7965 BlockDriverState *to_replace) in bdrv_recurse_can_replace() argument7975 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()