Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-refcount.c39 static int update_refcount(BlockDriverState *bs,
408 ret = update_refcount(bs, new_block, s->cluster_size, 1, false, in alloc_refcount_block()
420 * update_refcount uses the refcount cache itself */ in alloc_refcount_block()
811 update_refcount(BlockDriverState *bs, int64_t offset, int64_t length, in update_refcount() function
821 fprintf(stderr, "update_refcount: offset=%" PRId64 " size=%" PRId64 in update_refcount()
927 dummy = update_refcount(bs, offset, cluster_offset - offset, addend, in update_refcount()
951 ret = update_refcount(bs, cluster_index << s->cluster_bits, 1, addend, in qcow2_update_cluster_refcount()
1021 ret = update_refcount(bs, offset, size, 1, false, QCOW2_DISCARD_NEVER); in qcow2_alloc_clusters()
1057 ret = update_refcount(bs, offset, i << s->cluster_bits, 1, false, in qcow2_alloc_clusters_at()
1123 ret = update_refcount(b in qcow2_alloc_bytes()
[all...]