Searched refs:bdrv_pwrite_sync (Results 1 – 6 of 6) sorted by relevance
/external/qemu/block/ |
D | qcow2-snapshot.c | 161 if (bdrv_pwrite_sync(bs->file, offset, &h, sizeof(h)) < 0) in qcow_write_snapshots() 164 if (bdrv_pwrite_sync(bs->file, offset, sn->id_str, id_str_size) < 0) in qcow_write_snapshots() 167 if (bdrv_pwrite_sync(bs->file, offset, sn->name, name_size) < 0) in qcow_write_snapshots() 174 if (bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, snapshots_offset), in qcow_write_snapshots() 178 if (bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, nb_snapshots), in qcow_write_snapshots() 287 if (bdrv_pwrite_sync(bs->file, sn->l1_table_offset, in qcow2_snapshot_create() 337 if (bdrv_pwrite_sync(bs->file, s->l1_table_offset, in qcow2_snapshot_goto()
|
D | qcow2-refcount.c | 47 if (bdrv_pwrite_sync(bs->file, s->refcount_block_cache_offset, in write_refcount_block() 272 ret = bdrv_pwrite_sync(bs->file, new_block, s->refcount_block_cache, in alloc_refcount_block() 282 ret = bdrv_pwrite_sync(bs->file, in alloc_refcount_block() 362 ret = bdrv_pwrite_sync(bs->file, meta_offset, new_blocks, in alloc_refcount_block() 375 ret = bdrv_pwrite_sync(bs->file, table_offset, new_table, in alloc_refcount_block() 390 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, refcount_table_offset), in alloc_refcount_block() 447 ret = bdrv_pwrite_sync(bs->file, in write_refcount_block_entries() 829 if (bdrv_pwrite_sync(bs->file, in qcow2_update_snapshot_refcount() 853 if (bdrv_pwrite_sync(bs->file, l1_table_offset, l1_table, in qcow2_update_snapshot_refcount()
|
D | qcow2-cluster.c | 67 ret = bdrv_pwrite_sync(bs->file, new_l1_table_offset, new_l1_table, new_l1_size2); in qcow2_grow_l1_table() 77 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, l1_size), data,sizeof(data)); in qcow2_grow_l1_table() 210 ret = bdrv_pwrite_sync(bs->file, s->l1_table_offset + 8 * l1_start_index, in write_l1_entry() 266 ret = bdrv_pwrite_sync(bs->file, l2_offset, l2_table, in l2_allocate() 634 if (bdrv_pwrite_sync(bs->file, in qcow2_alloc_compressed_cluster_offset() 658 ret = bdrv_pwrite_sync(bs->file, l2_offset + start_offset, in write_l2_entries()
|
D | qcow2.c | 738 ret = bdrv_pwrite_sync(bs->file, sizeof(QCowHeader), buf, ext_size); in qcow2_update_ext_header() 747 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, backing_file_offset), in qcow2_update_ext_header() 753 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, backing_file_size), in qcow2_update_ext_header() 1137 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, size), in qcow2_truncate()
|
/external/qemu/include/block/ |
D | block.h | 85 int bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset,
|
/external/qemu/ |
D | block.c | 1075 int bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset, in bdrv_pwrite_sync() function 1102 return bdrv_pwrite_sync(bs, BDRV_SECTOR_SIZE * sector_num, in bdrv_write_sync()
|