Searched refs:new_reftable (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-refcount.c | 3125 uint64_t *new_reftable; in alloc_refblock() local 3137 new_reftable = g_try_realloc(*reftable, new_reftable_size * in alloc_refblock() 3139 if (!new_reftable) { in alloc_refblock() 3144 memset(new_reftable + *reftable_size, 0, in alloc_refblock() 3147 *reftable = new_reftable; in alloc_refblock() 3215 walk_over_reftable(BlockDriverState *bs, uint64_t **new_reftable, in walk_over_reftable() argument 3269 ret = operation(bs, new_reftable, *new_reftable_index, in walk_over_reftable() 3315 ret = operation(bs, new_reftable, *new_reftable_index, in walk_over_reftable() 3346 ret = operation(bs, new_reftable, *new_reftable_index, in walk_over_reftable() 3370 uint64_t *new_reftable = NULL, new_reftable_size = 0; in qcow2_change_refcount_order() local [all …]
|
H A D | qcow2.c | 4870 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()
|