Home
last modified time | relevance | path

Searched refs:refcount_table_size (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-refcount.c93 unsigned i = s->refcount_table_size - 1; in update_max_refcount_table_index()
112 assert(s->refcount_table_size <= INT_MAX / REFTABLE_ENTRY_SIZE); in qcow2_refcount_init()
113 refcount_table_size2 = s->refcount_table_size * REFTABLE_ENTRY_SIZE; in qcow2_refcount_init()
116 if (s->refcount_table_size > 0) { in qcow2_refcount_init()
127 for(i = 0; i < s->refcount_table_size; i++) in qcow2_refcount_init()
257 if (refcount_table_index >= s->refcount_table_size) { in qcow2_get_refcount()
318 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block()
439 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block()
716 uint64_t old_table_size = s->refcount_table_size; in qcow2_refcount_area()
720 s->refcount_table_size = table_size; in qcow2_refcount_area()
[all …]
H A Dqcow2.h355 uint32_t refcount_table_size; member
904 int64_t *refcount_table_size,
1029 int64_t *refcount_table_size);
H A Dqcow2-bitmap.c658 int64_t *refcount_table_size) 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 Dqcow2.c1536 s->refcount_table_size = in qcow2_do_open()
2945 refcount_table_clusters = s->refcount_table_size >> (s->cluster_bits - 3); in qcow2_update_header()
4950 s->refcount_table_size = s->cluster_size / REFTABLE_ENTRY_SIZE; in make_completely_empty()