/openbmc/qemu/include/exec/ |
H A D | ram_addr.h | 85 static inline void *ramblock_ptr(RAMBlock *block, ram_addr_t offset) in ramblock_ptr() 130 RAMBlock *qemu_ram_alloc_from_ptr(ram_addr_t size, void *host, 134 RAMBlock *qemu_ram_alloc_resizeable(ram_addr_t size, ram_addr_t max_size, 143 void qemu_ram_msync(RAMBlock *block, ram_addr_t start, ram_addr_t length); 239 static inline bool cpu_physical_memory_is_clean(ram_addr_t addr) in cpu_physical_memory_is_clean() 354 ram_addr_t ram_addr; in cpu_physical_memory_set_dirty_lebitmap() 456 bool cpu_physical_memory_test_and_clear_dirty(ram_addr_t start, 464 ram_addr_t start, 465 ram_addr_t length); 482 ram_addr_t addr; in cpu_physical_memory_sync_dirty_bitmap() [all …]
|
H A D | cpu-common.h | 59 typedef uint64_t ram_addr_t; typedef 63 typedef uintptr_t ram_addr_t; typedef 70 void qemu_ram_remap(ram_addr_t addr, ram_addr_t length); 72 ram_addr_t qemu_ram_addr_from_host(void *ptr); 73 ram_addr_t qemu_ram_addr_from_host_nofail(void *ptr); 91 ram_addr_t *offset); 92 ram_addr_t qemu_ram_block_host_offset(RAMBlock *rb, void *host); 97 ram_addr_t qemu_ram_get_offset(RAMBlock *rb); 98 ram_addr_t qemu_ram_get_used_length(RAMBlock *rb); 99 ram_addr_t qemu_ram_get_max_length(RAMBlock *rb);
|
H A D | ramblock.h | 32 ram_addr_t offset; 33 ram_addr_t used_length; 34 ram_addr_t max_length; 91 ram_addr_t postcopy_length;
|
H A D | cputlb.h | 29 void tlb_protect_code(ram_addr_t ram_addr); 30 void tlb_unprotect_code(ram_addr_t ram_addr);
|
H A D | exec-all.h | 593 void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length); 594 void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length);
|
/openbmc/qemu/include/sysemu/ |
H A D | xen.h | 33 void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length); 34 void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, 40 static inline void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length) in xen_hvm_modified_memory() 44 static inline void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, in xen_ram_alloc()
|
H A D | xen-mapcache.h | 16 ram_addr_t size); 22 ram_addr_t ram_addr_offset, 25 ram_addr_t xen_ram_addr_from_mapcache(void *ptr); 41 ram_addr_t ram_addr_offset, in xen_map_cache() 49 static inline ram_addr_t xen_ram_addr_from_mapcache(void *ptr) in xen_ram_addr_from_mapcache()
|
H A D | iommufd.h | 47 ram_addr_t size, void *vaddr, bool readonly); 49 hwaddr iova, ram_addr_t size); 61 uint64_t iova, ram_addr_t size,
|
H A D | kvm_int.h | 24 ram_addr_t memory_size; 35 ram_addr_t ram_start_offset; 177 void kvm_hwpoison_page_add(ram_addr_t ram_addr);
|
H A D | memory_mapping.h | 46 ram_addr_t length; 64 ram_addr_t length);
|
/openbmc/qemu/migration/ |
H A D | ram.h | 53 int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len, 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 | rdma.h | 51 int rdma_control_save_page(QEMUFile *f, ram_addr_t block_offset, 52 ram_addr_t offset, size_t size); 63 int rdma_control_save_page(QEMUFile *f, ram_addr_t block_offset, in rdma_control_save_page() 64 ram_addr_t offset, size_t size) in rdma_control_save_page()
|
H A D | ram.c | 368 ram_addr_t last_page; 1251 ram_addr_t offset = ((ram_addr_t)pss->page) << TARGET_PAGE_BITS; in ram_save_page() 1797 ram_addr_t offset; in get_queued_page() 1884 int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len, in ram_save_queue_pages() 1999 ram_addr_t offset = ((ram_addr_t)pss->page) << TARGET_PAGE_BITS; in ram_save_target_page_legacy() 2024 ram_addr_t offset = ((ram_addr_t)pss->page) << TARGET_PAGE_BITS; in ram_save_target_page_multifd() 2073 ram_addr_t ram_addr; in pss_within_range() 2859 ram_addr_t offset; in qemu_guest_free_page_hint() 3683 ram_addr_t addr; in ram_load_postcopy() 3915 ram_addr_t offset; in read_ramblock_mapped_ram() [all …]
|
H A D | multifd.h | 30 bool multifd_queue_page(RAMBlock *block, ram_addr_t offset); 81 ram_addr_t *offset; 216 ram_addr_t *normal; 220 ram_addr_t *zero;
|
H A D | multifd-zero-page.c | 26 static void swap_page_offset(ram_addr_t *pages_offset, int a, int b) in swap_page_offset() 28 ram_addr_t temp; in swap_page_offset()
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-container-base.h | 74 hwaddr iova, ram_addr_t size, 77 hwaddr iova, ram_addr_t size, 114 hwaddr iova, ram_addr_t size, 117 hwaddr iova, ram_addr_t size,
|
/openbmc/qemu/stubs/ |
H A D | ram-block.c | 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()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 171 ram_addr_t start; 172 ram_addr_t end; 853 void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length) in tlb_reset_dirty_range_all() 856 ram_addr_t start1; in tlb_reset_dirty_range_all() 858 ram_addr_t end; in tlb_reset_dirty_range_all() 1485 static ram_addr_t find_ram_offset(ram_addr_t size) in find_ram_offset() 1761 void qemu_ram_msync(RAMBlock *block, ram_addr_t start, ram_addr_t length) in qemu_ram_msync() 2061 RAMBlock *qemu_ram_alloc_internal(ram_addr_t size, ram_addr_t max_size, in qemu_ram_alloc_internal() 2115 RAMBlock *qemu_ram_alloc_resizeable(ram_addr_t size, ram_addr_t maxsz, in qemu_ram_alloc_resizeable() 2170 void qemu_ram_remap(ram_addr_t addr, ram_addr_t length) in qemu_ram_remap() [all …]
|
H A D | memory_mapping.c | 42 ram_addr_t length) in create_new_memory_mapping() 69 ram_addr_t length) in mapping_have_same_region() 94 ram_addr_t length) in mapping_merge() 110 ram_addr_t length) in memory_mapping_list_add_merge_sorted() 315 ram_addr_t offset, length; in qemu_get_guest_memory_mapping()
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 117 ram_addr_t ram_size, MemoryRegion **ram_memory_p) in xen_ram_init() 121 ram_addr_t block_len; in xen_ram_init() 178 static XenPhysmap *get_physmapping(hwaddr start_addr, ram_addr_t size, in get_physmapping() 193 static hwaddr xen_phys_offset_to_gaddr(hwaddr phys_offset, ram_addr_t size, in xen_phys_offset_to_gaddr() 247 ram_addr_t size, in xen_add_to_physmap() 328 ram_addr_t size) in xen_remove_from_physmap() 377 ram_addr_t size) in xen_sync_dirty_bitmap() 664 void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length) in xen_hvm_modified_memory() 672 ram_addr_t start_pfn, nb_pages; in xen_hvm_modified_memory() 707 ram_addr_t size = int128_get64(section->size); in arch_xen_set_memory()
|
/openbmc/qemu/hw/xtensa/ |
H A D | bootparam.h | 35 static inline ram_addr_t put_tag(ram_addr_t addr, uint16_t tag, in put_tag()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-balloon.c | 41 ram_addr_t base_gpa; 55 ram_addr_t base_gpa, in virtio_balloon_pbp_alloc() 63 ram_addr_t base_gpa) in virtio_balloon_pbp_matches() 83 ram_addr_t rb_offset, rb_aligned_offset, base_gpa; in balloon_inflate_page() 147 ram_addr_t rb_offset; in balloon_deflate_page() 348 ram_addr_t ram_offset; in virtio_balloon_handle_report() 732 static ram_addr_t get_current_ram_size(void) in get_current_ram_size() 756 ram_addr_t vm_ram_size = get_current_ram_size(); in virtio_balloon_set_config() 762 ((ram_addr_t) dev->actual << VIRTIO_BALLOON_PFN_SHIFT)); in virtio_balloon_set_config() 788 static void virtio_balloon_to_target(void *opaque, ram_addr_t target) in virtio_balloon_to_target() [all …]
|
/openbmc/qemu/include/hw/ |
H A D | boards.h | 279 ram_addr_t default_ram_size; 309 ram_addr_t (*fixup_ram_size)(ram_addr_t size); 405 ram_addr_t ram_size; 406 ram_addr_t maxram_size;
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc405_boards.c | 127 ram_addr_t ram_size) in ppc405_set_default_bootinfo() 154 static ram_addr_t __ppc405_set_bootinfo(CPUPPCState *env, ppc4xx_bd_info_t *bd) in __ppc405_set_bootinfo() 157 ram_addr_t bdloc; in __ppc405_set_bootinfo() 208 static ram_addr_t ppc405_set_bootinfo(CPUPPCState *env, ram_addr_t ram_size) in ppc405_set_bootinfo() 227 ram_addr_t bdloc; in boot_from_kernel()
|
H A D | ppc4xx_sdram.c | 58 const ram_addr_t sdram_bank_sizes[], in ppc4xx_sdram_banks() 62 ram_addr_t size_left = memory_region_size(ram); in ppc4xx_sdram_banks() 63 ram_addr_t base = 0; in ppc4xx_sdram_banks() 64 ram_addr_t bank_size; in ppc4xx_sdram_banks() 91 ram_addr_t used_size = memory_region_size(ram) - size_left; in ppc4xx_sdram_banks() 390 const ram_addr_t valid_bank_sizes[] = { in ppc4xx_sdram_ddr_realize() 656 const ram_addr_t valid_bank_sizes[] = { in ppc4xx_sdram_ddr2_realize()
|