Searched refs:child_bs (Results 1 – 10 of 10) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block_int-io.h | 144 return child_bs(bdrv_cow_child(bs)); in bdrv_cow_bs() 151 return child_bs(bdrv_filter_child(bs)); in bdrv_filter_bs() 158 return child_bs(bdrv_filter_or_cow_child(bs)); in bdrv_filter_or_cow_bs() 165 return child_bs(bdrv_primary_child(bs)); in bdrv_primary_bs()
|
H A D | block_int-global-state.h | 206 bdrv_root_attach_child(BlockDriverState *child_bs, const char *child_name,
|
H A D | block-global-state.h | 250 BlockDriverState *child_bs,
|
H A D | block_int-common.h | 1299 static inline BlockDriverState *child_bs(BdrvChild *child) in child_bs() function
|
/openbmc/qemu/ |
H A D | block.c | 2261 bdrv_child_perm(BlockDriverState *bs, BlockDriverState *child_bs, in bdrv_child_perm() argument 2273 if (child_bs && child_bs->force_share) { in bdrv_child_perm() 3065 bdrv_attach_child_common(BlockDriverState *child_bs, in bdrv_attach_child_common() argument 3075 AioContext *child_ctx = bdrv_get_aio_context(child_bs); in bdrv_attach_child_common() 3099 int ret = bdrv_try_change_aio_context(child_bs, parent_ctx, NULL, in bdrv_attach_child_common() 3126 bdrv_ref(child_bs); in bdrv_attach_child_common() 3145 bdrv_replace_child_noperm(new_child, child_bs); in bdrv_attach_child_common() 3169 BlockDriverState *child_bs, in bdrv_attach_child_noperm() argument 3181 if (bdrv_recurse_has_child(child_bs, parent_bs)) { in bdrv_attach_child_noperm() 3183 child_bs->node_name, child_name, parent_bs->node_name); in bdrv_attach_child_noperm() [all …]
|
/openbmc/qemu/block/ |
H A D | preallocate.c | 108 BlockDriverState *child_bs, Error **errp) in preallocate_absorb_opts() argument 130 child_bs->bl.request_alignment)) { in preallocate_absorb_opts() 133 "(%" PRIi32 ")", child_bs->bl.request_alignment); in preallocate_absorb_opts()
|
H A D | quorum.c | 1070 quorum_add_child(BlockDriverState *bs, BlockDriverState *child_bs, Error **errp) in quorum_add_child() argument 1097 bdrv_ref(child_bs); in quorum_add_child() 1099 child = bdrv_attach_child(bs, child_bs, indexstr, &child_of_bds, in quorum_add_child()
|
H A D | io.c | 2833 BlockDriverState *child_bs = bdrv_primary_bs(bs); in bdrv_co_readv_vmstate() local 2851 } else if (child_bs) { in bdrv_co_readv_vmstate() 2852 ret = bdrv_co_readv_vmstate(child_bs, qiov, pos); in bdrv_co_readv_vmstate() 2866 BlockDriverState *child_bs = bdrv_primary_bs(bs); in bdrv_co_writev_vmstate() local 2884 } else if (child_bs) { in bdrv_co_writev_vmstate() 2885 ret = bdrv_co_writev_vmstate(child_bs, qiov, pos); in bdrv_co_writev_vmstate()
|
H A D | snapshot.c | 192 return child_bs(bdrv_snapshot_fallback_child(bs)); in bdrv_snapshot_fallback()
|
/openbmc/qemu/tests/unit/ |
H A D | test-bdrv-drain.c | 1036 BlockDriverState *bs, *child_bs, *null_bs; in do_test_delete_by_drain() local 1055 child_bs = bdrv_new_open_driver(&bdrv_test, "child", BDRV_O_RDWR, in do_test_delete_by_drain() 1057 child_bs->total_sectors = 65536 >> BDRV_SECTOR_BITS; in do_test_delete_by_drain() 1060 tts->wait_child = bdrv_attach_child(bs, child_bs, "wait-child", in do_test_delete_by_drain() 1082 g_assert_cmpint(child_bs->refcnt, ==, 1); in do_test_delete_by_drain() 1101 bdrv_ref(child_bs); in do_test_delete_by_drain() 1102 bdrv_drain(child_bs); in do_test_delete_by_drain() 1103 bdrv_unref(child_bs); in do_test_delete_by_drain()
|