Lines Matching refs:refblock_offset
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()
3236 uint64_t refblock_offset = s->refcount_table[reftable_index] in walk_over_reftable() local
3242 if (refblock_offset) { in walk_over_reftable()
3245 if (offset_into_cluster(s, refblock_offset)) { in walk_over_reftable()
3248 PRIx64 ")", refblock_offset, in walk_over_reftable()
3255 ret = qcow2_cache_get(bs, s->refcount_block_cache, refblock_offset, in walk_over_reftable()