Home
last modified time | relevance | path

Searched refs:backing_hd (Results 1 – 25 of 30) sorted by relevance

12

/dports/sysutils/afflib/AFFLIBv3-3.7.16/lib/qemu/
H A Dblock-vmdk.c174 BlockDriverState *p_bs = s->hd->backing_hd; in vmdk_is_cid_valid()
323 if (bs->backing_hd) in vmdk_parent_close()
324 bdrv_close(bs->backing_hd); in vmdk_parent_close()
355 s->hd->backing_hd = bdrv_new(""); in vmdk_parent_open()
356 if (!s->hd->backing_hd) { in vmdk_parent_open()
362 if (bdrv_open(s->hd->backing_hd, parent_img_name, BDRV_O_RDONLY) < 0) in vmdk_parent_open()
478 if (s->hd->backing_hd) { in get_whole_cluster()
479 BDRVVmdkState *ps = s->hd->backing_hd->opaque; in get_whole_cluster()
484 parent_cluster_offset = get_cluster_offset(s->hd->backing_hd, NULL, offset, allocate); in get_whole_cluster()
635 if (s->hd->backing_hd) { in vmdk_read()
[all …]
H A Dblock.c409 bs->backing_hd = bdrv_new(""); in bdrv_open2()
410 if (!bs->backing_hd) { in bdrv_open2()
432 if (bs->backing_hd) in bdrv_close()
433 bdrv_delete(bs->backing_hd); in bdrv_close()
473 if (!bs->backing_hd) { in bdrv_commit()
806 if (bs->backing_hd && bs->backing_hd->encrypted) in bdrv_is_encrypted()
814 if (bs->backing_hd && bs->backing_hd->encrypted) { in bdrv_set_key()
815 ret = bdrv_set_key(bs->backing_hd, key); in bdrv_set_key()
874 if (bs->backing_hd) in bdrv_flush()
875 bdrv_flush(bs->backing_hd); in bdrv_flush()
[all …]
H A Dblock-cow.c166 if (bs->backing_hd) { in cow_read()
168 ret = bdrv_read(bs->backing_hd, sector_num, buf, n); in cow_read()
H A Dblock_int.h116 BlockDriverState *backing_hd; member
H A Dblock-qcow.c461 if (bs->backing_hd) {
463 ret = bdrv_read(bs->backing_hd, sector_num, buf, n);
585 if (bs->backing_hd) { in qcow_aio_read_cb()
587 acb->hd_aiocb = bdrv_aio_read(bs->backing_hd, in qcow_aio_read_cb()
H A Dblock-qcow2.c728 if (bs->backing_hd) { in qcow_read()
730 n1 = backing_read1(bs->backing_hd, sector_num, buf, n); in qcow_read()
732 ret = bdrv_read(bs->backing_hd, sector_num, buf, n1); in qcow_read()
854 if (bs->backing_hd) { in qcow_aio_read_cb()
856 n1 = backing_read1(bs->backing_hd, acb->sector_num, in qcow_aio_read_cb()
859 acb->hd_aiocb = bdrv_aio_read(bs->backing_hd, acb->sector_num, in qcow_aio_read_cb()
/dports/emulators/x49gp/x49gp/x49gp-code/
H A Dblock.c362 bs->backing_hd = bdrv_new(""); in bdrv_open()
363 if (!bs->backing_hd) { in bdrv_open()
373 if (bdrv_open(bs->backing_hd, backing_filename, 0) < 0) { in bdrv_open()
399 if (bs->backing_hd) in bdrv_close()
400 bdrv_delete(bs->backing_hd); in bdrv_close()
620 if (bs->backing_hd) in bdrv_flush()
621 bdrv_flush(bs->backing_hd); in bdrv_flush()
H A Dblock-qcow.c373 if (bs->backing_hd) { in qcow_read()
375 ret = bdrv_read(bs->backing_hd, sector_num, buf, n); in qcow_read()
/dports/emulators/qemu42/qemu-4.2.1/
H A Dblock.c1064 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1068 backing_hd->filename); in bdrv_backing_attach()
1070 backing_hd->drv ? backing_hd->drv->format_name : ""); in bdrv_backing_attach()
2574 if (backing_hd) { in bdrv_set_backing_hd()
2575 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2583 if (!backing_hd) { in bdrv_set_backing_hd()
2593 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2618 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2686 if (!backing_hd) { in bdrv_open_backing_file()
2696 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/
H A Dblock.c1064 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1068 backing_hd->filename); in bdrv_backing_attach()
1070 backing_hd->drv ? backing_hd->drv->format_name : ""); in bdrv_backing_attach()
2574 if (backing_hd) { in bdrv_set_backing_hd()
2575 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2583 if (!backing_hd) { in bdrv_set_backing_hd()
2593 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2618 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2686 if (!backing_hd) { in bdrv_open_backing_file()
2696 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/
H A Dblock.c1237 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1241 backing_hd->filename); in bdrv_backing_attach()
1243 backing_hd->drv ? backing_hd->drv->format_name : ""); in bdrv_backing_attach()
2762 if (backing_hd) { in bdrv_set_backing_hd()
2763 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2771 if (!backing_hd) { in bdrv_set_backing_hd()
2781 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2806 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2874 if (!backing_hd) { in bdrv_open_backing_file()
2884 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/
H A Dblock.c1232 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1236 backing_hd->filename); in bdrv_backing_attach()
1238 backing_hd->drv ? backing_hd->drv->format_name : ""); in bdrv_backing_attach()
2756 if (backing_hd) { in bdrv_set_backing_hd()
2757 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2764 if (!backing_hd) { in bdrv_set_backing_hd()
2775 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2800 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2868 if (!backing_hd) { in bdrv_open_backing_file()
2878 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/
H A Dblock.c980 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach() local
989 backing_hd->filename); in bdrv_backing_attach()
991 backing_hd->drv ? backing_hd->drv->format_name : ""); in bdrv_backing_attach()
997 bdrv_op_unblock(backing_hd, BLOCK_OP_TYPE_STREAM, in bdrv_backing_attach()
2238 if (backing_hd) { in bdrv_set_backing_hd()
2239 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2246 if (!backing_hd) { in bdrv_set_backing_hd()
2254 bdrv_unref(backing_hd); in bdrv_set_backing_hd()
2280 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2340 if (!backing_hd) { in bdrv_open_backing_file()
[all …]
/dports/emulators/x49gp/x49gp/x49gp-code/include/
H A Dblock_int.h89 BlockDriverState *backing_hd; member
H A Dblock.h130 BlockDriverState *backing_hd; member
/dports/emulators/qemu5/qemu-5.2.0/
H A Dblock.c1149 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach() local
1156 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
2883 if (backing_hd) { in bdrv_set_backing_hd()
2884 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2893 if (!backing_hd) { in bdrv_set_backing_hd()
2903 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2928 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
2996 if (!backing_hd) { in bdrv_open_backing_file()
3004 bdrv_refresh_filename(backing_hd); in bdrv_open_backing_file()
3006 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/
H A Dblock.c1212 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach() local
1219 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
2897 if (backing_hd) { in bdrv_set_backing_hd()
2898 bdrv_ref(backing_hd); in bdrv_set_backing_hd()
2907 if (!backing_hd) { in bdrv_set_backing_hd()
2922 backing_hd->inherits_from = bs; in bdrv_set_backing_hd()
2949 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
3017 if (!backing_hd) { in bdrv_open_backing_file()
3025 bdrv_refresh_filename(backing_hd); in bdrv_open_backing_file()
3027 backing_hd->filename); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu/qemu-6.2.0/
H A Dblock.c1234 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach() local
1241 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1245 bdrv_op_block_all(backing_hd, parent->backing_blocker); in bdrv_backing_attach()
1247 bdrv_op_unblock(backing_hd, BLOCK_OP_TYPE_COMMIT_TARGET, in bdrv_backing_attach()
1249 bdrv_op_unblock(backing_hd, BLOCK_OP_TYPE_STREAM, in bdrv_backing_attach()
3375 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
3443 if (!backing_hd) { in bdrv_open_backing_file()
3451 bdrv_refresh_filename(backing_hd); in bdrv_open_backing_file()
3453 backing_hd->filename); in bdrv_open_backing_file()
3458 ret = bdrv_set_backing_hd(bs, backing_hd, errp); in bdrv_open_backing_file()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/
H A Dblock.c1229 BlockDriverState *backing_hd = c->bs; in bdrv_backing_attach() local
1236 bdrv_refresh_filename(backing_hd); in bdrv_backing_attach()
1240 bdrv_op_block_all(backing_hd, parent->backing_blocker); in bdrv_backing_attach()
1242 bdrv_op_unblock(backing_hd, BLOCK_OP_TYPE_COMMIT_TARGET, in bdrv_backing_attach()
1244 bdrv_op_unblock(backing_hd, BLOCK_OP_TYPE_STREAM, in bdrv_backing_attach()
3262 BlockDriverState *backing_hd; in bdrv_open_backing_file() local
3330 if (!backing_hd) { in bdrv_open_backing_file()
3338 bdrv_refresh_filename(backing_hd); in bdrv_open_backing_file()
3340 backing_hd->filename); in bdrv_open_backing_file()
3345 ret = bdrv_set_backing_hd(bs, backing_hd, errp); in bdrv_open_backing_file()
[all …]
/dports/emulators/x49gp/x49gp/x49gp-code/qemu/patches/
H A Dqemu-0.9.0-x49gp-block.patch1222 - s->bs->backing_hd = calloc(sizeof(BlockDriverState), 1);
1223 - s->bs->backing_hd->drv = &vvfat_write_target;
1224 - s->bs->backing_hd->opaque = s;
/dports/emulators/qemu42/qemu-4.2.1/include/block/
H A Dblock.h311 void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd,
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/include/block/
H A Dblock.h291 void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd,
/dports/emulators/qemu5/qemu-5.2.0/include/block/
H A Dblock.h364 void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd,
/dports/emulators/qemu-utils/qemu-4.2.1/include/block/
H A Dblock.h311 void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd,
/dports/emulators/qemu-guest-agent/qemu-5.0.1/include/block/
H A Dblock.h302 void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd,

12