Home
last modified time | relevance | path

Searched refs:bdrv_pread (Results 1 – 6 of 6) sorted by relevance

/external/qemu/block/
Dqcow2-snapshot.c82 if (bdrv_pread(bs->file, offset, &h, sizeof(h)) != sizeof(h)) in qcow2_read_snapshots()
100 if (bdrv_pread(bs->file, offset, sn->id_str, id_str_size) != id_str_size) in qcow2_read_snapshots()
106 if (bdrv_pread(bs->file, offset, sn->name, name_size) != name_size) in qcow2_read_snapshots()
334 if (bdrv_pread(bs->file, sn->l1_table_offset, in qcow2_snapshot_goto()
Dqcow2-refcount.c69 ret = bdrv_pread(bs->file, s->refcount_table_offset, in qcow2_refcount_init()
103 ret = bdrv_pread(bs->file, refcount_block_offset, s->refcount_block_cache, in load_refcount_block()
766 if (bdrv_pread(bs->file, l1_table_offset, in qcow2_update_snapshot_refcount()
786 if (bdrv_pread(bs->file, l2_offset, l2_table, l2_size) != l2_size) in qcow2_update_snapshot_refcount()
946 if (bdrv_pread(bs->file, l2_offset, l2_table, l2_size) != l2_size) in check_refcounts_l2()
1041 if (bdrv_pread(bs->file, l1_table_offset, in check_refcounts_l1()
Dqcow2.c95 if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) { in qcow_read_extensions()
118 if (bdrv_pread(bs->file, offset , bs->backing_format, in qcow_read_extensions()
146 if (bdrv_pread(bs->file, 0, &header, sizeof(header)) != sizeof(header)) in qcow_open()
199 if (bdrv_pread(bs->file, s->l1_table_offset, s->l1_table, s->l1_size * sizeof(uint64_t)) != in qcow_open()
232 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) in qcow_open()
1292 ret = bdrv_pread(bs, qcow_vm_state_offset(s) + pos, buf, size); in qcow_load_vmstate()
Dqcow2-cluster.c180 ret = bdrv_pread(bs->file, l2_offset, *l2_table, in l2_load()
258 ret = bdrv_pread(bs->file, old_l2_offset, l2_table, in l2_allocate()
381 ret = bdrv_pread(bs->file, cluster_offset + index_in_cluster * 512, buf, n * 512); in qcow_read()
/external/qemu/include/block/
Dblock.h81 int bdrv_pread(BlockDriverState *bs, int64_t offset,
/external/qemu/
Dblock.c359 ret = bdrv_pread(bs, 0, buf, sizeof(buf)); in find_image_format()
975 int bdrv_pread(BlockDriverState *bs, int64_t offset, in bdrv_pread() function