Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-refcount.c3574 int64_t refblock_offs; in qcow2_discard_refcount_block() local
3580 refblock_offs = get_refblock_offset(bs, discard_block_offs); in qcow2_discard_refcount_block()
3581 if (refblock_offs < 0) { in qcow2_discard_refcount_block()
3582 return refblock_offs; in qcow2_discard_refcount_block()
3587 ret = qcow2_cache_get(bs, s->refcount_block_cache, refblock_offs, in qcow2_discard_refcount_block()
3599 refblock_offs, in qcow2_discard_refcount_block()
3635 int64_t refblock_offs = s->refcount_table[i] & REFT_OFFSET_MASK; in qcow2_shrink_reftable() local
3639 if (refblock_offs == 0) { in qcow2_shrink_reftable()
3643 ret = qcow2_cache_get(bs, s->refcount_block_cache, refblock_offs, in qcow2_shrink_reftable()
3650 if (i == offset_to_reftable_index(s, refblock_offs)) { in qcow2_shrink_reftable()
[all …]