Home
last modified time | relevance | path

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

/external/qemu/
Dblock.c610 bs->backing_hd = bdrv_new(""); in bdrv_open()
620 ret = bdrv_open(bs->backing_hd, backing_filename, back_flags, back_drv); in bdrv_open()
626 bs->backing_hd->keep_read_only = !(flags & BDRV_O_RDWR); in bdrv_open()
629 bs->backing_hd->keep_read_only = bs->keep_read_only; in bdrv_open()
655 if (bs->backing_hd) { in bdrv_close()
656 bdrv_delete(bs->backing_hd); in bdrv_close()
657 bs->backing_hd = NULL; in bdrv_close()
760 if (!bs->backing_hd) { in bdrv_commit()
764 if (bs->backing_hd->keep_read_only) { in bdrv_commit()
768 ro = bs->backing_hd->read_only; in bdrv_commit()
[all …]
/external/qemu/block/
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()
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()
/external/qemu/include/block/
Dblock_int.h168 BlockDriverState *backing_hd; member