Searched refs:refcount_table_index (Results 1 – 2 of 2) sorted by relevance
251 uint64_t refcount_table_index, block_index; in qcow2_get_refcount() local256 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() local316 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 …]
468 refcount_table_index = (offset / cluster_size) / refcount_block_entries470 refcount_block = load_cluster(refcount_table[refcount_table_index]);