Searched refs:cluster_index (Results 1 – 8 of 8) sorted by relevance
/qemu/block/ |
H A D | qcow2-refcount.c | 247 int qcow2_get_refcount(BlockDriverState *bs, int64_t cluster_index, in qcow2_get_refcount() argument 256 refcount_table_index = cluster_index >> s->refcount_block_bits; in qcow2_get_refcount() 281 block_index = cluster_index & (s->refcount_block_size - 1); in qcow2_get_refcount() 306 alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index, in alloc_refcount_block() argument 316 refcount_table_index = cluster_index >> s->refcount_block_bits; in alloc_refcount_block() 388 refcount_table_index, cluster_index << s->cluster_bits, new_block); in alloc_refcount_block() 391 if (in_same_refcount_block(s, new_block, cluster_index << s->cluster_bits)) { in alloc_refcount_block() 486 uint64_t blocks_used = DIV_ROUND_UP(MAX(cluster_index + 1, in alloc_refcount_block() 843 int64_t cluster_index = cluster_offset >> s->cluster_bits; in update_refcount() local 844 int64_t table_index = cluster_index >> s->refcount_block_bits; in update_refcount() [all …]
|
H A D | parallels.c | 185 uint32_t cluster_index = host_cluster_index(s, off); in mark_used() local 187 if ((uint64_t)cluster_index + count > bitmap_size) { in mark_used() 190 next_used = find_next_bit(bitmap, bitmap_size, cluster_index); in mark_used() 191 if (next_used < (uint64_t)cluster_index + count) { in mark_used() 194 bitmap_set(bitmap, cluster_index, count); in mark_used()
|
H A D | qcow2.h | 855 int GRAPH_RDLOCK qcow2_get_refcount(BlockDriverState *bs, int64_t cluster_index, 859 qcow2_update_cluster_refcount(BlockDriverState *bs, int64_t cluster_index,
|
/qemu/hw/cpu/ |
H A D | cluster.c | 43 cpu->cluster_index = cbdata->cluster->cluster_id; in add_cpu_to_cluster()
|
/qemu/accel/tcg/ |
H A D | tcg-accel-ops.c | 64 cflags = cpu->cluster_index << CF_CLUSTER_SHIFT; in tcg_cpu_init_cflags()
|
/qemu/hw/core/ |
H A D | cpu-common.c | 310 cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX; in cpu_common_initfn()
|
/qemu/include/hw/core/ |
H A D | cpu.h | 551 int cluster_index; member
|
/qemu/gdbstub/ |
H A D | gdbstub.c | 207 if (cpu->cluster_index == UNASSIGNED_CLUSTER_INDEX) { in gdb_get_cpu_pid() 212 return cpu->cluster_index + 1; in gdb_get_cpu_pid()
|