Home
last modified time | relevance | path

Searched refs:top_bs (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dreplication.c404 BlockDriverState *top_bs; in backup_job_cleanup() local
408 top_bs = bdrv_lookup_bs(s->top_id, s->top_id, NULL); in backup_job_cleanup()
409 if (!top_bs) { in backup_job_cleanup()
412 bdrv_op_unblock_all(top_bs, s->blocker); in backup_job_cleanup()
431 check_top_bs(BlockDriverState *top_bs, BlockDriverState *bs) in check_top_bs() argument
436 if (top_bs == bs) { in check_top_bs()
441 QLIST_FOREACH(child, &top_bs->children, next) { in check_top_bs()
455 BlockDriverState *top_bs; in replication_start() local
570 top_bs = bdrv_lookup_bs(s->top_id, s->top_id, NULL); in replication_start()
571 if (!top_bs || !bdrv_is_root_node(top_bs) || in replication_start()
[all …]
H A Dcommit.c72 BlockDriverState *top_bs = blk_bs(s->top); in commit_abort() local
82 bdrv_ref(top_bs); in commit_abort()
111 bdrv_unref(top_bs); in commit_abort()
/openbmc/qemu/
H A Dblockdev.c2443 BlockDriverState *base_bs, *top_bs; in qmp_block_commit() local
2493 top_bs = bs; in qmp_block_commit()
2499 top_bs = bdrv_lookup_bs(NULL, top_node, errp); in qmp_block_commit()
2500 if (top_bs == NULL) { in qmp_block_commit()
2503 if (!bdrv_chain_contains(bs, top_bs)) { in qmp_block_commit()
2514 top_bs = bdrv_find_backing_image(bs, top); in qmp_block_commit()
2518 if (top_bs == NULL) { in qmp_block_commit()
2523 assert(bdrv_get_aio_context(top_bs) == aio_context); in qmp_block_commit()
2533 if (!bdrv_chain_contains(top_bs, base_bs)) { in qmp_block_commit()
2539 base_bs = bdrv_find_backing_image(top_bs, base); in qmp_block_commit()
[all …]