Searched refs:refcount_table (Results 1 – 6 of 6) sorted by relevance
/qemu/block/ |
H A D | qcow2-refcount.c | 94 while (i > 0 && (s->refcount_table[i] & REFT_OFFSET_MASK) == 0) { in update_max_refcount_table_index() 114 s->refcount_table = g_try_malloc(refcount_table_size2); in qcow2_refcount_init() 117 if (s->refcount_table == NULL) { in qcow2_refcount_init() 123 refcount_table_size2, s->refcount_table, 0); in qcow2_refcount_init() 128 be64_to_cpus(&s->refcount_table[i]); in qcow2_refcount_init() 139 g_free(s->refcount_table); in qcow2_refcount_close() 262 s->refcount_table[refcount_table_index] & REFT_OFFSET_MASK; in qcow2_get_refcount() 321 s->refcount_table[refcount_table_index] & REFT_OFFSET_MASK; in alloc_refcount_block() 449 s->refcount_table[refcount_table_index] = new_block; in alloc_refcount_block() 588 memcpy(new_table, s->refcount_table, in qcow2_refcount_area() [all …]
|
H A D | qcow2.h | 353 uint64_t *refcount_table; member 903 void **refcount_table, 1028 void **refcount_table,
|
H A D | qcow2-bitmap.c | 657 void **refcount_table, in qcow2_check_bitmaps_refcounts() argument 669 ret = qcow2_inc_refcounts_imrt(bs, res, refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts() 688 refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts() 715 refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts()
|
H A D | qcow2.c | 3527 uint64_t *refcount_table; in qcow2_co_create() local 3768 refcount_table = g_malloc0(2 * cluster_size); in qcow2_co_create() 3769 refcount_table[0] = cpu_to_be64(2 * cluster_size); in qcow2_co_create() 3770 ret = blk_co_pwrite(blk, cluster_size, 2 * cluster_size, refcount_table, 0); in qcow2_co_create() 3771 g_free(refcount_table); in qcow2_co_create() 4957 g_free(s->refcount_table); in make_completely_empty() 4958 s->refcount_table = new_reftable; in make_completely_empty() 4976 s->refcount_table[0] = 2 * s->cluster_size; in make_completely_empty()
|
/qemu/tests/image-fuzzer/qcow2/ |
H A D | layout.py | 105 self.refcount_table = FieldsList() 119 self.refcount_table, self.refcount_blocks) 462 self.refcount_table = FieldsList(rfc_table)
|
/qemu/docs/interop/ |
H A D | qcow2.rst | 489 refcount_block = load_cluster(refcount_table[refcount_table_index]);
|