Home
last modified time | relevance | path

Searched refs:refcount_block_bits (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-refcount.c256 refcount_table_index = cluster_index >> s->refcount_block_bits; in qcow2_get_refcount()
293 uint64_t block_a = offset_a >> (s->cluster_bits + s->refcount_block_bits); in in_same_refcount_block()
294 uint64_t block_b = offset_b >> (s->cluster_bits + s->refcount_block_bits); in in_same_refcount_block()
316 refcount_table_index = cluster_index >> s->refcount_block_bits; in alloc_refcount_block()
844 int64_t table_index = cluster_index >> s->refcount_block_bits; in update_refcount()
2501 refblock_index = cluster >> s->refcount_block_bits; in rebuild_refcounts_write_refblocks()
2502 refblock_start = refblock_index << s->refcount_block_bits; in rebuild_refcounts_write_refblocks()
3288 offset = ((reftable_index << s->refcount_block_bits) in walk_over_reftable()
3513 s->refcount_block_bits = s->cluster_bits - (refcount_order - 3); in qcow2_change_refcount_order()
3514 s->refcount_block_size = 1 << s->refcount_block_bits; in qcow2_change_refcount_order()
H A Dqcow2.h338 int refcount_block_bits; member
829 return offset >> (s->refcount_block_bits + s->cluster_bits); in offset_to_reftable_index()
H A Dqcow2.c1528 s->refcount_block_bits = s->cluster_bits - (s->refcount_order - 3); in qcow2_do_open()
1529 s->refcount_block_size = 1 << s->refcount_block_bits; in qcow2_do_open()