Lines Matching refs:refcount_table_offset
122 ret = bdrv_co_pread(bs->file, s->refcount_table_offset, in qcow2_refcount_init()
442 ret = bdrv_pwrite_sync(bs->file, s->refcount_table_offset + in alloc_refcount_block()
708 offsetof(QCowHeader, refcount_table_offset), in qcow2_refcount_area()
715 uint64_t old_table_offset = s->refcount_table_offset; in qcow2_refcount_area()
721 s->refcount_table_offset = table_offset; in qcow2_refcount_area()
2273 s->refcount_table_offset, in calculate_refcounts()
2751 offsetof(QCowHeader, refcount_table_offset), in rebuild_refcount_structure()
2765 s->refcount_table_offset = reftable_offset; in rebuild_refcount_structure()
2949 if (overlaps_with(s->refcount_table_offset, in qcow2_check_metadata_overlap()
3489 old_reftable_offset = s->refcount_table_offset; in qcow2_change_refcount_order()
3493 s->refcount_table_offset = new_reftable_offset; in qcow2_change_refcount_order()
3499 s->refcount_table_offset = old_reftable_offset; in qcow2_change_refcount_order()
3668 ret = bdrv_co_pwrite_sync(bs->file, s->refcount_table_offset, in qcow2_shrink_reftable()