Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-refcount.c3125 uint64_t *new_reftable; in alloc_refblock() local
3139 if (!new_reftable) { in alloc_refblock()
3144 memset(new_reftable + *reftable_size, 0, in alloc_refblock()
3147 *reftable = new_reftable; in alloc_refblock()
3370 uint64_t *new_reftable = NULL, new_reftable_size = 0; in qcow2_change_refcount_order() local
3459 cpu_to_be64s(&new_reftable[i]); in qcow2_change_refcount_order()
3467 be64_to_cpus(&new_reftable[i]); in qcow2_change_refcount_order()
3506 s->refcount_table = new_reftable; in qcow2_change_refcount_order()
3521 new_reftable = old_reftable; in qcow2_change_refcount_order()
3526 if (new_reftable) { in qcow2_change_refcount_order()
[all …]
H A Dqcow2.c4870 uint64_t *new_reftable = NULL; in make_completely_empty() local
4943 new_reftable = g_try_new0(uint64_t, s->cluster_size / REFTABLE_ENTRY_SIZE); in make_completely_empty()
4944 if (!new_reftable) { in make_completely_empty()
4954 s->refcount_table = new_reftable; in make_completely_empty()
4955 new_reftable = NULL; in make_completely_empty()
5011 g_free(new_reftable); in make_completely_empty()