Searched refs:new_table_size2 (Results 1 – 1 of 1) sorted by relevance
/external/qemu/block/ |
D | qcow2-refcount.c | 104 int new_table_size, new_table_size2, refcount_table_clusters, i, ret; in grow_refcount_table() local 130 new_table_size2 = new_table_size * sizeof(uint64_t); in grow_refcount_table() 131 new_table = qemu_mallocz(new_table_size2); in grow_refcount_table() 137 table_offset = alloc_clusters_noref(bs, new_table_size2); in grow_refcount_table() 138 ret = bdrv_pwrite(s->hd, table_offset, new_table, new_table_size2); in grow_refcount_table() 139 if (ret != new_table_size2) in grow_refcount_table() 156 update_refcount(bs, table_offset, new_table_size2, 1); in grow_refcount_table() 160 qcow2_free_clusters(bs, table_offset, new_table_size2); in grow_refcount_table()
|