Home
last modified time | relevance | path

Searched refs:refcount_table_index (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-refcount.c251 uint64_t refcount_table_index, block_index; in qcow2_get_refcount() local
256 refcount_table_index = cluster_index >> s->refcount_block_bits; in qcow2_get_refcount()
257 if (refcount_table_index >= s->refcount_table_size) { in qcow2_get_refcount()
262 s->refcount_table[refcount_table_index] & REFT_OFFSET_MASK; in qcow2_get_refcount()
310 unsigned int refcount_table_index; in alloc_refcount_block() local
316 refcount_table_index = cluster_index >> s->refcount_block_bits; in alloc_refcount_block()
318 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block()
329 refcount_table_index); in alloc_refcount_block()
439 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block()
449 s->refcount_table[refcount_table_index] = new_block; in alloc_refcount_block()
[all …]
/openbmc/qemu/docs/interop/
H A Dqcow2.txt468 refcount_table_index = (offset / cluster_size) / refcount_block_entries
470 refcount_block = load_cluster(refcount_table[refcount_table_index]);