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()
2518 refblock_index = cluster >> s->refcount_block_bits; in rebuild_refcounts_write_refblocks()
2519 refblock_start = refblock_index << s->refcount_block_bits; in rebuild_refcounts_write_refblocks()
3305 offset = ((reftable_index << s->refcount_block_bits) in walk_over_reftable()
3530 s->refcount_block_bits = s->cluster_bits - (refcount_order - 3); in qcow2_change_refcount_order()
3531 s->refcount_block_size = 1 << s->refcount_block_bits; in qcow2_change_refcount_order()
[all...]
H A Dqcow2.h338 int refcount_block_bits; member
832 return offset >> (s->refcount_block_bits + s->cluster_bits);
H A Dqcow2.c1611 s->refcount_block_bits = s->cluster_bits - (s->refcount_order - 3); in qcow2_do_open()
1612 s->refcount_block_size = 1 << s->refcount_block_bits; in qcow2_do_open()