/qemu/include/system/ |
H A D | ram_addr.h | 163 DirtyMemoryBlocks *blocks; in cpu_physical_memory_get_dirty() local 174 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_get_dirty() 182 unsigned long found = find_next_bit(blocks->blocks[idx], in cpu_physical_memory_get_dirty() 203 DirtyMemoryBlocks *blocks; in cpu_physical_memory_all_dirty() local 215 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_all_dirty() 223 unsigned long found = find_next_zero_bit(blocks->blocks[idx], num, offset); in cpu_physical_memory_all_dirty() 278 DirtyMemoryBlocks *blocks; in cpu_physical_memory_set_dirty_flag() local 288 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_set_dirty_flag() 290 set_bit_atomic(offset, blocks->blocks[idx]); in cpu_physical_memory_set_dirty_flag() 297 DirtyMemoryBlocks *blocks[DIRTY_MEMORY_NUM]; in cpu_physical_memory_set_dirty_range() local [all …]
|
/qemu/contrib/plugins/ |
H A D | drcov.c | 42 static GPtrArray *blocks; variable 93 g_ptr_array_foreach(blocks, count_block, &count); in plugin_exit() 97 g_ptr_array_foreach(blocks, printf_el, NULL); in plugin_exit() 100 g_ptr_array_free(blocks, true); in plugin_exit() 110 blocks = g_ptr_array_sized_new(128); in plugin_init() 137 g_ptr_array_add(blocks, bb); in vcpu_tb_trans()
|
H A D | lockstep.c | 70 static GSList *blocks; variable 83 g_slist_free_full(blocks, &g_free); in plugin_cleanup() 259 blocks = g_slist_prepend(blocks, bi); in vcpu_tb_trans()
|
H A D | cache.c | 65 CacheBlock *blocks; member 271 cache->sets[i].blocks = g_new0(CacheBlock, assoc); in cache_init() 308 if (!cache->sets[set].blocks[i].valid) { in get_invalid_block() 339 if (cache->sets[set].blocks[i].tag == tag && in in_cache() 340 cache->sets[set].blocks[i].valid) { in in_cache() 382 cache->sets[set].blocks[replaced_blk].tag = tag; in access_cache() 383 cache->sets[set].blocks[replaced_blk].valid = true; in access_cache() 512 g_free(cache->sets[i].blocks); in cache_free()
|
/qemu/include/exec/ |
H A D | ramlist.h | 44 unsigned long *blocks[]; member 51 QLIST_HEAD(, RAMBlock) blocks; 61 QLIST_FOREACH_RCU(block, &ram_list.blocks, next)
|
/qemu/tests/image-fuzzer/qcow2/ |
H A D | layout.py | 358 blocks = set(init_blocks) 364 table_size = int(ceil((max(blocks) + 1) / float(size))) 375 diff = set([c // block_size for c in table_clusters]) - blocks 376 blocks |= diff 384 diff = set([x // block_size for x in new]) - blocks 386 blocks |= diff 388 if int(ceil((max(blocks) + 1) / float(size))) > table_size: 392 if new_block_id not in blocks: 396 return table_clusters, blocks, clusters
|
/qemu/block/ |
H A D | vdi.c | 747 uint32_t blocks; in vdi_co_do_create() local 824 blocks = DIV_ROUND_UP(bytes, block_size); in vdi_co_do_create() 826 bmap_size = blocks * sizeof(uint32_t); in vdi_co_do_create() 840 header.blocks_in_image = blocks; in vdi_co_do_create() 842 header.blocks_allocated = blocks; in vdi_co_do_create() 867 for (i = 0; i < blocks; i++) { in vdi_co_do_create() 883 ret = blk_co_truncate(blk, offset + blocks * block_size, false, in vdi_co_do_create()
|
/qemu/host/include/i386/host/ |
H A D | bufferiszero.c.inc | 36 * Loop over complete 128-byte blocks. 81 /* Loop over complete 256-byte blocks. */
|
/qemu/hw/ppc/ |
H A D | pnv_bmc.c | 151 static uint32_t blocks_to_bytes(uint16_t blocks) in blocks_to_bytes() argument 153 return blocks << BLOCK_SHIFT; in blocks_to_bytes()
|
/qemu/tests/qemu-iotests/ |
H A D | 313.out | 7 ### Write data to allocate more refcount blocks than the cache can hold
|
H A D | 084.out | 33 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': unsupported VDI image (too many blocks 536870785, max…
|
/qemu/system/ |
H A D | physmem.c | 97 RAMList ram_list = { .blocks = QLIST_HEAD_INITIALIZER(ram_list.blocks) }; 915 DirtyMemoryBlocks *blocks; in cpu_physical_memory_test_and_clear_dirty() local 930 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_test_and_clear_dirty() 942 dirty |= bitmap_test_and_clear_atomic(blocks->blocks[idx], in cpu_physical_memory_test_and_clear_dirty() 962 DirtyMemoryBlocks *blocks; in cpu_physical_memory_snapshot_and_clear_dirty() local 986 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_snapshot_and_clear_dirty() 999 blocks->blocks[idx] + ofs, in cpu_physical_memory_snapshot_and_clear_dirty() 1521 if (QLIST_EMPTY_RCU(&ram_list.blocks)) { in find_ram_offset() 1850 sizeof(new_blocks->blocks[0]) * new_num_blocks); in dirty_memory_extend() 1853 memcpy(new_blocks->blocks, old_blocks->blocks, in dirty_memory_extend() [all …]
|
/qemu/include/standard-headers/linux/ |
H A D | fuse.h | 277 uint64_t blocks; member 314 uint64_t blocks; member 328 uint64_t blocks; member
|
/qemu/docs/ |
H A D | qcow2-cache.txt | 56 The refcount blocks 63 The second level structures are called refcount blocks, are also one 147 Unlike L2 tables, refcount blocks are not used during normal I/O but 241 Refcount blocks are not affected by this.
|
H A D | image-fuzzer.txt | 129 refcount table and blocks. 237 between image blocks.
|
/qemu/host/include/aarch64/host/ |
H A D | bufferiszero.c.inc | 39 * Loop over complete 128-byte blocks.
|
/qemu/qga/ |
H A D | qapi-schema.json | 538 # Discard (or "trim") blocks which are not in use by the filesystem. 544 # fragmented free space, although not all blocks will be 1145 # @guest-get-memory-blocks: 1147 # Retrieve the list of the guest's memory blocks. 1151 # Returns: The list of all memory blocks the guest knows about. Each 1157 { 'command': 'guest-get-memory-blocks', 1205 # @guest-set-memory-blocks: 1208 # blocks inside the guest. 1210 # @mem-blks: The memory blocks to be reconfigured. This list is 1218 # describe a modified subset of @guest-get-memory-blocks' return [all …]
|
/qemu/ |
H A D | qemu-img-cmds.hx | 63 …"dd [--image-opts] [-U] [-f fmt] [-O output_fmt] [bs=block_size] [count=blocks] [skip=blocks] if=i…
|
/qemu/docs/sphinx-static/ |
H A D | theme_overrides.css | 69 /* Interim: Code-blocks with line nos - lines and line numbers don't line up. 266 /* code blocks */
|
/qemu/tests/qemu-iotests/tests/ |
H A D | commit-zero-blocks.out | 1 QA output created by commit-zero-blocks
|
/qemu/target/arm/tcg/ |
H A D | m-nocp.decode | 54 # to handle them before the big NOCP blocks. Note that within these
|
/qemu/docs/system/ |
H A D | device-emulation.rst | 61 by ``--blockdev`` which will specify how blocks are handled, for
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-9p-client.h | 52 uint64_t blocks; member
|
/qemu/docs/devel/ |
H A D | tcg-ops.rst | 43 a sequence of basic blocks connected by the fall-through paths of 70 live in all translation blocks, and holds a pointer to ``CPUArchState``. 72 translation blocks. 76 A TCG *global* is a variable which is live in all translation blocks, 83 ``TCGCPUOps.initialize``, before any translation blocks are generated.
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 182 option. This causes implicit RAM blocks (those not described by 211 QEMU blocks waiting to read from the cpr channel before starting its
|