Home
last modified time | relevance | path

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

/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py368 table_clusters = set(range(table_start, table_start + table_size))
375 diff = set([c // block_size for c in table_clusters]) - blocks
394 table_clusters.add(table_start + table_size)
396 return table_clusters, blocks, clusters
426 table_clusters = set([random.choice(list(set(range(1, 4)) -
433 table_clusters, block_ids, new_clusters = \
441 meta_data |= block_clusters | table_clusters
442 table_offset = min(table_clusters) * self.cluster_size
466 self.header['refcount_table_clusters'][0].value = len(table_clusters)
/openbmc/qemu/block/
H A Dqcow2-refcount.c539 int total_refblock_count, table_size, area_reftable_index, table_clusters; in qcow2_refcount_area() local
571 table_clusters = (table_size * REFTABLE_ENTRY_SIZE) / s->cluster_size; in qcow2_refcount_area()
612 end_offset = table_offset + table_clusters * s->cluster_size; in qcow2_refcount_area()
705 data.d32 = cpu_to_be32(table_clusters); in qcow2_refcount_area()