Home
last modified time | relevance | path

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

/external/qemu/
Dblock.c608 bs->backing_hd = bdrv_new(""); in bdrv_open()
618 ret = bdrv_open(bs->backing_hd, backing_filename, back_flags, back_drv); in bdrv_open()
624 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()
627 bs->backing_hd->keep_read_only = bs->keep_read_only; in bdrv_open()
653 if (bs->backing_hd) { in bdrv_close()
654 bdrv_delete(bs->backing_hd); in bdrv_close()
655 bs->backing_hd = NULL; in bdrv_close()
758 if (!bs->backing_hd) { in bdrv_commit()
762 if (bs->backing_hd->keep_read_only) { in bdrv_commit()
766 ro = bs->backing_hd->read_only; in bdrv_commit()
[all …]
Dblock_int.h168 BlockDriverState *backing_hd; member
/external/qemu/block/
Dcow.c186 if (bs->backing_hd) { in cow_read()
188 ret = bdrv_read(bs->backing_hd, sector_num, buf, n); in cow_read()
Dvmdk.c162 BlockDriverState *p_bs = bs->backing_hd; in vmdk_is_cid_valid()
447 if (bs->backing_hd) { in get_whole_cluster()
453 ret = bdrv_read(bs->backing_hd, offset >> 9, whole_grain, in get_whole_cluster()
601 if (bs->backing_hd) { in vmdk_read()
604 ret = bdrv_read(bs->backing_hd, sector_num, buf, n); in vmdk_read()
Dqcow2-cluster.c363 if (bs->backing_hd) { in qcow_read()
365 n1 = qcow2_backing_read1(bs->backing_hd, sector_num, buf, n); in qcow_read()
368 ret = bdrv_read(bs->backing_hd, sector_num, buf, n1); in qcow_read()
Dqcow.c460 if (bs->backing_hd) {
462 ret = bdrv_read(bs->backing_hd, sector_num, buf, n);
586 if (bs->backing_hd) { in qcow_aio_read_cb()
591 acb->hd_aiocb = bdrv_aio_readv(bs->backing_hd, acb->sector_num, in qcow_aio_read_cb()
Dqcow2.c427 if (bs->backing_hd) { in qcow_aio_read_cb()
429 n1 = qcow2_backing_read1(bs->backing_hd, acb->sector_num, in qcow_aio_read_cb()
436 acb->hd_aiocb = bdrv_aio_readv(bs->backing_hd, acb->sector_num, in qcow_aio_read_cb()
Dvvfat.c2812 s->bs->backing_hd = calloc(sizeof(BlockDriverState), 1); in enable_write_target()
2813 s->bs->backing_hd->drv = &vvfat_write_target; in enable_write_target()
2814 s->bs->backing_hd->opaque = s; in enable_write_target()