/openbmc/qemu/include/exec/ |
H A D | cpu-common.h | 94 void qemu_ram_unset_idstr(RAMBlock *block); 96 void *qemu_ram_get_host_addr(RAMBlock *rb); 100 bool qemu_ram_is_shared(RAMBlock *rb); 101 bool qemu_ram_is_noreserve(RAMBlock *rb); 102 bool qemu_ram_is_uf_zeroable(RAMBlock *rb); 103 void qemu_ram_set_uf_zeroable(RAMBlock *rb); 104 bool qemu_ram_is_migratable(RAMBlock *rb); 105 void qemu_ram_set_migratable(RAMBlock *rb); 107 bool qemu_ram_is_named_file(RAMBlock *rb); 108 int qemu_ram_get_fd(RAMBlock *rb); [all …]
|
H A D | ram_addr.h | 56 static inline void clear_bmap_set(RAMBlock *rb, uint64_t start, in clear_bmap_set() 73 static inline bool clear_bmap_test_and_clear(RAMBlock *rb, uint64_t page) in clear_bmap_test_and_clear() 80 static inline bool offset_in_ramblock(RAMBlock *b, ram_addr_t offset) in offset_in_ramblock() 85 static inline void *ramblock_ptr(RAMBlock *block, ram_addr_t offset) in ramblock_ptr() 99 bool ramblock_is_pmem(RAMBlock *rb); 123 RAMBlock *qemu_ram_alloc_from_file(ram_addr_t size, MemoryRegion *mr, 126 RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size, MemoryRegion *mr, 130 RAMBlock *qemu_ram_alloc_from_ptr(ram_addr_t size, void *host, 139 void qemu_ram_free(RAMBlock *block); 146 static inline void qemu_ram_block_writeback(RAMBlock *block) in qemu_ram_block_writeback() [all …]
|
H A D | ramblock.h | 27 struct RAMBlock { struct 40 QLIST_ENTRY(RAMBlock) next; argument
|
H A D | ramlist.h | 49 RAMBlock *mru_block; 51 QLIST_HEAD(, RAMBlock) blocks;
|
/openbmc/qemu/migration/ |
H A D | ram.h | 68 int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr); 69 bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset); 70 void ramblock_recv_bitmap_set(RAMBlock *rb, void *host_addr); 71 void ramblock_recv_bitmap_set_range(RAMBlock *rb, void *host_addr, size_t nr); 72 void ramblock_recv_bitmap_set_offset(RAMBlock *rb, uint64_t byte_offset); 75 bool ram_dirty_bitmap_reload(MigrationState *s, RAMBlock *rb, Error **errp); 76 bool ramblock_page_is_discarded(RAMBlock *rb, ram_addr_t start); 79 void ramblock_set_file_bmap_atomic(RAMBlock *block, ram_addr_t offset, 87 void colo_record_bitmap(RAMBlock *block, ram_addr_t *normal, uint32_t pages);
|
H A D | ram.c | 122 RAMBlock *block; 228 RAMBlock *block; in foreach_not_ignored_block() 244 RAMBlock *rb; in ramblock_recv_map_init() 347 RAMBlock *rb; 936 RAMBlock *block; in ram_pagesize_summary() 1046 RAMBlock *block; in migration_bitmap_sync() 1416 RAMBlock *block; in poll_fault_page() 1487 RAMBlock *block; in ram_write_tracking_compatible() 2762 RAMBlock *rb; in migration_bitmap_clear_discarded_pages() 3631 RAMBlock *rb; in ram_load_cleanup() [all …]
|
H A D | postcopy-ram.h | 75 RAMBlock *rb); 82 RAMBlock *rb); 151 typedef int (*pcfdwake)(struct PostCopyFD *pcfd, RAMBlock *rb, uint64_t offset); 173 int postcopy_notify_shared_wake(RAMBlock *rb, uint64_t offset); 183 RAMBlock *rb); 185 int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
|
H A D | postcopy-ram.c | 382 RAMBlock *block; in postcopy_ram_supported_by_host() 488 static int init_range(RAMBlock *rb, void *opaque) in init_range() 520 static int cleanup_range(RAMBlock *rb, void *opaque) in cleanup_range() 676 static int nhp_range(RAMBlock *rb, void *opaque) in nhp_range() 746 RAMBlock *rb) in postcopy_wake_shared() 970 RAMBlock *rb = NULL; in postcopy_ram_fault_thread() 1343 RAMBlock *rb) in postcopy_place_page() 1370 RAMBlock *rb) in postcopy_place_page_zero() 1438 RAMBlock *rb) in postcopy_place_page() 1445 RAMBlock *rb) in postcopy_place_page_zero() [all …]
|
H A D | migration.h | 80 RAMBlock *last_recv_block[RAM_CHANNEL_MAX]; 114 RAMBlock *last_rb; 495 int migrate_send_rp_req_pages(MigrationIncomingState *mis, RAMBlock *rb, 498 RAMBlock *rb, ram_addr_t start);
|
H A D | multifd.h | 30 bool multifd_queue_page(RAMBlock *block, ram_addr_t offset); 82 RAMBlock *block; 206 RAMBlock *block;
|
H A D | dirtyrate.c | 435 static void get_ramblock_dirty_info(RAMBlock *block, in get_ramblock_dirty_info() 466 static bool skip_sample_ramblock(RAMBlock *block) in skip_sample_ramblock() 486 RAMBlock *block = NULL; in record_ramblock_hash_info() 540 find_block_matched(RAMBlock *block, int count, in find_block_matched() 569 RAMBlock *block = NULL; in compare_page_hash_info() 602 RAMBlock *block = NULL; in dirtyrate_manual_reset_protect()
|
H A D | file.h | 24 int niov, RAMBlock *block, Error **errp);
|
H A D | multifd-zero-page.c | 50 RAMBlock *rb = pages->block; in multifd_send_zero_page_detect()
|
H A D | file.c | 199 int niov, RAMBlock *block, Error **errp) in file_write_ramblock_iov()
|
/openbmc/qemu/stubs/ |
H A D | ram-block.c | 6 void *qemu_ram_get_host_addr(RAMBlock *rb) in qemu_ram_get_host_addr() 11 ram_addr_t qemu_ram_get_offset(RAMBlock *rb) in qemu_ram_get_offset() 16 ram_addr_t qemu_ram_get_used_length(RAMBlock *rb) in qemu_ram_get_used_length()
|
H A D | physmem.c | 4 RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset, in qemu_ram_block_from_host() 10 int qemu_ram_get_fd(RAMBlock *rb) in qemu_ram_get_fd()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 817 RAMBlock *block; in qemu_get_ram_block() 857 RAMBlock *block; in tlb_reset_dirty_range_all() 1158 RAMBlock *block; in ram_block_format() 1626 RAMBlock *block; in qemu_ram_set_idstr() 1671 RAMBlock *block; in qemu_ram_pagesize_largest() 1834 RAMBlock *block; in ram_block_add() 2018 RAMBlock *block; in qemu_ram_alloc_from_file() 2172 RAMBlock *block; in qemu_ram_remap() 2294 RAMBlock *block; in qemu_ram_block_from_host() 2347 RAMBlock *block; in qemu_ram_block_by_name() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | typedefs.h | 107 typedef struct RAMBlock RAMBlock; typedef
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 32 RAMBlock *rb; in virtio_gpu_create_udmabuf() 100 RAMBlock *rb = backend->mr.ram_block; in find_memory_backend_type()
|
/openbmc/qemu/include/migration/ |
H A D | misc.h | 44 bool migrate_ram_is_ignored(RAMBlock *block);
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-mem.c | 126 static uint64_t virtio_mem_default_block_size(RAMBlock *rb) in virtio_mem_default_block_size() 138 static bool virtio_mem_has_shared_zeropage(RAMBlock *rb) in virtio_mem_has_shared_zeropage() 583 RAMBlock *rb = vmem->memdev->mr.ram_block; in virtio_mem_set_block_state() 735 RAMBlock *rb = vmem->memdev->mr.ram_block; in virtio_mem_unplug_all() 960 RAMBlock *rb; in virtio_mem_device_realize() 1162 RAMBlock *rb = vmem->memdev->mr.ram_block; in virtio_mem_discard_range_cb() 1261 RAMBlock *rb = vmem->memdev->mr.ram_block; in virtio_mem_post_load_early() 1474 RAMBlock *rb; in virtio_mem_decide_memslots()
|
/openbmc/qemu/docs/devel/migration/ |
H A D | best-practices.rst | 34 - Changes in firmware size can cause changes in the required RAMBlock size
|
H A D | mapped-ram.rst | 82 RAMBlock headers, the dirty pages for a RAMBlock follow its header
|
/openbmc/qemu/hw/remote/ |
H A D | proxy-memory-listener.c | 87 RAMBlock *mrs_rb; in try_merge()
|
/openbmc/qemu/hw/hyperv/ |
H A D | hv-balloon-our_range_memslots.c | 146 RAMBlock *rb; in hvb_our_range_memslots_free()
|