Searched refs:refblock_offset (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-refcount.c | 2478 int64_t refblock_offset, refblock_start, refblock_index; in rebuild_refcounts_write_refblocks() local 2512 refblock_offset = on_disk_reftable[refblock_index]; in rebuild_refcounts_write_refblocks() 2520 refblock_offset = alloc_clusters_imrt(bs, 1, refcount_table, in rebuild_refcounts_write_refblocks() 2523 if (refblock_offset < 0) { in rebuild_refcounts_write_refblocks() 2524 error_setg_errno(errp, -refblock_offset, in rebuild_refcounts_write_refblocks() 2526 return refblock_offset; in rebuild_refcounts_write_refblocks() 2529 refblock_cluster_index = refblock_offset / s->cluster_size; in rebuild_refcounts_write_refblocks() 2563 on_disk_reftable[refblock_index] = refblock_offset; in rebuild_refcounts_write_refblocks() 2568 ret = qcow2_pre_write_overlap_check(bs, 0, refblock_offset, in rebuild_refcounts_write_refblocks() 2584 ret = bdrv_co_pwrite(bs->file, refblock_offset, s->cluster_size, in rebuild_refcounts_write_refblocks() [all …]
|