Home | History | Annotate | Download | only in block

Lines Matching refs:new_table

339     uint64_t *new_table = qemu_mallocz(table_size * sizeof(uint64_t));
344 memcpy(new_table, s->refcount_table,
346 new_table[refcount_table_index] = new_block;
350 new_table[blocks_used + i] = meta_offset + (i * s->cluster_size);
371 cpu_to_be64s(&new_table[i]);
375 ret = bdrv_pwrite_sync(bs->file, table_offset, new_table,
382 cpu_to_be64s(&new_table[i]);
401 s->refcount_table = new_table;
418 qemu_free(new_table);