Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 53) sorted by relevance

123

/qemu/include/exec/
H A Dram_addr.h158 DirtyMemoryBlocks *blocks; in cpu_physical_memory_get_dirty() local
177 unsigned long found = find_next_bit(blocks->blocks[idx], in cpu_physical_memory_get_dirty()
198 DirtyMemoryBlocks *blocks; in cpu_physical_memory_all_dirty() local
218 unsigned long found = find_next_zero_bit(blocks->blocks[idx], num, offset); in cpu_physical_memory_all_dirty()
273 DirtyMemoryBlocks *blocks; in cpu_physical_memory_set_dirty_flag() local
285 set_bit_atomic(offset, blocks->blocks[idx]); in cpu_physical_memory_set_dirty_flag()
292 DirtyMemoryBlocks *blocks[DIRTY_MEMORY_NUM]; in cpu_physical_memory_set_dirty_range() local
316 bitmap_set_atomic(blocks[DIRTY_MEMORY_MIGRATION]->blocks[idx], in cpu_physical_memory_set_dirty_range()
320 bitmap_set_atomic(blocks[DIRTY_MEMORY_VGA]->blocks[idx], in cpu_physical_memory_set_dirty_range()
324 bitmap_set_atomic(blocks[DIRTY_MEMORY_CODE]->blocks[idx], in cpu_physical_memory_set_dirty_range()
[all …]
H A Dramlist.h44 unsigned long *blocks[]; member
51 QLIST_HEAD(, RAMBlock) blocks;
60 QLIST_FOREACH_RCU(block, &ram_list.blocks, next)
/qemu/contrib/plugins/
H A Ddrcov.c42 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 Dlockstep.c69 static GSList *blocks; variable
82 g_slist_free_full(blocks, &g_free); in plugin_cleanup()
233 blocks = g_slist_prepend(blocks, bi); in vcpu_tb_trans()
H A Dcache.c65 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()
518 g_free(cache->sets[i].blocks); in cache_free()
/qemu/hw/block/
H A Dtc58128.c59 int ret, blocks; in init_dev() local
75 blocks = DIV_ROUND_UP(ret, 528 * 32); in init_dev()
76 dev->flash_contents[0] = blocks & 0xff; in init_dev()
77 dev->flash_contents[1] = (blocks >> 8) & 0xff; in init_dev()
78 dev->flash_contents[2] = (blocks >> 16) & 0xff; in init_dev()
79 dev->flash_contents[3] = (blocks >> 24) & 0xff; in init_dev()
H A Donenand.c88 int blocks; member
230 memset(s->blockwp, ONEN_LOCK_LOCKED, s->blocks); in onenand_reset()
512 if (b >= s->blocks) { in onenand_command()
525 for (b = 0; b < s->blocks; b ++) { in onenand_command()
537 if (b >= s->blocks) { in onenand_command()
551 if (b >= s->blocks) { in onenand_command()
756 s->unladdr[0] = value & (s->blocks - 1); in onenand_write()
760 s->unladdr[1] = value & (s->blocks - 1); in onenand_write()
763 s->unladdr[1] = value & (s->blocks - 1); in onenand_write()
789 s->blocks = size >> BLOCK_SHIFT; in onenand_realize()
[all …]
/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py358 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 Dvdi.c745 uint32_t blocks; in vdi_co_do_create() local
822 blocks = DIV_ROUND_UP(bytes, block_size); in vdi_co_do_create()
824 bmap_size = blocks * sizeof(uint32_t); in vdi_co_do_create()
838 header.blocks_in_image = blocks; in vdi_co_do_create()
840 header.blocks_allocated = blocks; in vdi_co_do_create()
865 for (i = 0; i < blocks; i++) { in vdi_co_do_create()
881 ret = blk_co_truncate(blk, offset + blocks * block_size, false, in vdi_co_do_create()
/qemu/hw/ppc/
H A Dpnv_bmc.c151 static uint32_t blocks_to_bytes(uint16_t blocks) in blocks_to_bytes() argument
153 return blocks << BLOCK_SHIFT; in blocks_to_bytes()
/qemu/system/
H A Dphysmem.c90 RAMList ram_list = { .blocks = QLIST_HEAD_INITIALIZER(ram_list.blocks) };
849 DirtyMemoryBlocks *blocks; in cpu_physical_memory_test_and_clear_dirty() local
864 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_test_and_clear_dirty()
876 dirty |= bitmap_test_and_clear_atomic(blocks->blocks[idx], in cpu_physical_memory_test_and_clear_dirty()
896 DirtyMemoryBlocks *blocks; in cpu_physical_memory_snapshot_and_clear_dirty() local
914 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_snapshot_and_clear_dirty()
927 blocks->blocks[idx] + ofs, in cpu_physical_memory_snapshot_and_clear_dirty()
1457 if (QLIST_EMPTY_RCU(&ram_list.blocks)) { in find_ram_offset()
1791 memcpy(new_blocks->blocks, old_blocks->blocks, in dirty_memory_extend()
1792 old_num_blocks * sizeof(old_blocks->blocks[0])); in dirty_memory_extend()
[all …]
/qemu/tests/qemu-iotests/
H A D313.out7 ### Write data to allocate more refcount blocks than the cache can hold
H A D084.out33 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': unsupported VDI image (too many blocks 536870785, max…
/qemu/include/standard-headers/linux/
H A Dfuse.h262 uint64_t blocks; member
299 uint64_t blocks; member
313 uint64_t blocks; member
/qemu/docs/
H A Dqcow2-cache.txt56 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 Dimage-fuzzer.txt129 refcount table and blocks.
237 between image blocks.
/qemu/qga/
H A Dqapi-schema.json522 # Discard (or "trim") blocks which are not in use by the filesystem.
528 # fragmented free space, although not all blocks will be
1105 # @guest-get-memory-blocks:
1107 # Retrieve the list of the guest's memory blocks.
1117 { 'command': 'guest-get-memory-blocks',
1162 # @guest-set-memory-blocks:
1165 # blocks inside the guest.
1167 # @mem-blks: The memory blocks to be reconfigured. This list is
1175 # describe a modified subset of @guest-get-memory-blocks' return
1188 { 'command': 'guest-set-memory-blocks',
[all …]
/qemu/
H A Dqemu-img-cmds.hx63 …"dd [--image-opts] [-U] [-f fmt] [-O output_fmt] [bs=block_size] [count=blocks] [skip=blocks] if=i…
/qemu/target/arm/tcg/
H A Dm-nocp.decode54 # to handle them before the big NOCP blocks. Note that within these
/qemu/docs/sphinx-static/
H A Dtheme_overrides.css69 /* Interim: Code-blocks with line nos - lines and line numbers don't line up.
/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.h52 uint64_t blocks; member
/qemu/docs/system/
H A Ddevice-emulation.rst61 by ``--blockdev`` which will specify how blocks are handled, for
/qemu/docs/devel/
H A Dtcg-ops.rst43 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.
H A Dtcg-plugins.rst110 conceptions such as translation time and translation blocks the
339 get a sorted list of blocks reporting the starting PC, translation
342 re-translations as blocks from different programs get swapped in and
630 Simulates a unified L2 cache (stores blocks for both instructions and data)
/qemu/docs/system/devices/
H A Dnet.rst56 The QEMU VM behaves as if it was behind a firewall which blocks all

123