| /openbmc/qemu/hw/vfio/ |
| H A D | listener.c | 224 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate() 234 for (start = section->offset_within_region; start < end; start = next) { in vfio_ram_discard_notify_populate() 238 iova = start - section->offset_within_region + in vfio_ram_discard_notify_populate() 261 g_assert(QEMU_IS_ALIGNED(section->offset_within_region, target_page_size)); in vfio_ram_discard_register_listener() 362 section->offset_within_region, in vfio_known_safe_misalignment() 380 (section->offset_within_region & ~qemu_real_host_page_mask()))) { in vfio_listener_valid_section() 387 section->offset_within_region, in vfio_listener_valid_section() 540 section->offset_within_region; in vfio_container_region_add() 542 llend = int128_add(int128_make64(section->offset_within_region), in vfio_container_region_add() 549 section->offset_within_region, in vfio_container_region_add() [all …]
|
| H A D | spapr.c | 55 section->offset_within_region + in vfio_prereg_gpa_to_vaddr() 84 (section->offset_within_region & ~page_mask) || in vfio_prereg_listener_region_add() 143 (section->offset_within_region & ~page_mask) || in vfio_prereg_listener_region_del()
|
| H A D | cpr-legacy.c | 215 hwaddr iommu_offset = as_offset - section->offset_within_region; in vfio_cpr_giommu_remap()
|
| H A D | trace-events | 100 …ame, uint64_t iova, uint64_t offset_within_region, uintptr_t page_size) "Region \"%s\" iova=0x%"PR…
|
| /openbmc/qemu/hw/remote/ |
| H A D | proxy-memory-listener.c | 98 section->offset_within_region; in try_merge() 115 prev_sec->offset_within_region; in try_merge() 128 prev_sec->offset_within_region = in try_merge() 192 section->offset_within_region; in proxy_memory_listener_commit()
|
| H A D | vfio-user-obj.c | 440 section_offset = section.offset_within_region; in vfu_object_bar_rw()
|
| /openbmc/qemu/system/ |
| H A D | ram-block-attributes.c | 42 const uint64_t first_bit = section->offset_within_region / block_size; in ram_block_attributes_rdm_is_populated() 85 first_bit = section->offset_within_region / block_size; in ram_block_attributes_for_each_populated_section() 126 first_bit = section->offset_within_region / block_size; in ram_block_attributes_for_each_discarded_section()
|
| H A D | memory_mapping.c | 204 section->offset_within_region; in guest_phys_block_add_section()
|
| H A D | memory.c | 241 .offset_within_region = fr->offset_in_region, in section_from_flat_range() 2334 .offset_within_region = xlat, in memory_translate_iotlb() 2458 sec_start = MAX(mrs.offset_within_region, start); in memory_region_clear_dirty_bitmap() 2459 sec_end = mrs.offset_within_region + int128_get64(mrs.size); in memory_region_clear_dirty_bitmap() 2472 sec_start - mrs.offset_within_region; in memory_region_clear_dirty_bitmap() 2473 mrs.offset_within_region = sec_start; in memory_region_clear_dirty_bitmap() 2962 ret.offset_within_region = fr->offset_in_region; in memory_region_find_rcu() 2963 ret.offset_within_region += int128_get64(int128_sub(range.start, in memory_region_find_rcu()
|
| H A D | physmem.c | 377 *xlat = addr + section->offset_within_region; in address_space_translate_internal() 551 section.offset_within_region; in address_space_get_iotlb_entry() 1140 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch() 1153 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch() 2702 .offset_within_region = 0, in dummy_section() 3556 int128_make64(cache->xlat - cache->mrs.offset_within_region)); in address_space_cache_init()
|
| /openbmc/qemu/accel/hvf/ |
| H A D | hvf-all.c | 127 section->offset_within_region)) { in hvf_set_phys_mem() 168 mem->mem = memory_region_get_ram_ptr(area) + section->offset_within_region; in hvf_set_phys_mem()
|
| /openbmc/qemu/include/system/ |
| H A D | memory.h | 102 hwaddr offset_within_region; member 1246 a->offset_within_region == b->offset_within_region && in MemoryRegionSection_eq() 1287 uint64_t start = MAX(s->offset_within_region, offset); in memory_region_section_intersect_range() 1288 Int128 end = int128_min(int128_add(int128_make64(s->offset_within_region), in memory_region_section_intersect_range() 1297 s->offset_within_address_space += start - s->offset_within_region; in memory_region_section_intersect_range() 1298 s->offset_within_region = start; in memory_region_section_intersect_range()
|
| /openbmc/qemu/hw/display/ |
| H A D | framebuffer.c | 86 addr = mem_section->offset_within_region; in framebuffer_update_display()
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-vdpa.c | 273 end = int128_add(int128_make64(section->offset_within_region), in vhost_vdpa_iommu_region_add() 281 section->offset_within_region, in vhost_vdpa_iommu_region_add() 285 section->offset_within_region; in vhost_vdpa_iommu_region_add() 308 iommu->n.start == section->offset_within_region) { in vhost_vdpa_iommu_region_del() 339 (section->offset_within_region & ~page_mask))) { in vhost_vdpa_listener_region_add() 342 section->offset_within_region & ~page_mask); in vhost_vdpa_listener_region_add() 357 section->offset_within_region + in vhost_vdpa_listener_region_add() 431 (section->offset_within_region & ~page_mask))) { in vhost_vdpa_listener_region_del() 434 section->offset_within_region & ~page_mask); in vhost_vdpa_listener_region_del()
|
| H A D | vhost.c | 121 mr_offset = section_offset + section->offset_within_region; in vhost_dev_sync_region() 671 mrs->offset_within_region; in vhost_commit() 736 section->offset_within_region; in vhost_region_add_section() 774 prev_sec->offset_within_region; in vhost_region_add_section() 799 prev_sec->offset_within_region = in vhost_region_add_section() 807 prev_sec->offset_within_region); in vhost_region_add_section() 877 end = int128_add(int128_make64(section->offset_within_region), in vhost_iommu_region_add() 886 section->offset_within_region, in vhost_iommu_region_add() 891 section->offset_within_region; in vhost_iommu_region_add() 912 iommu->n.start == section->offset_within_region) { in vhost_iommu_region_del()
|
| H A D | virtio-balloon.c | 443 section.offset_within_region, &pbp); in virtio_balloon_handle_output() 445 balloon_deflate_page(s, section.mr, section.offset_within_region); in virtio_balloon_handle_output()
|
| H A D | trace-events | 38 …age) "vdpa_shared: %p region %s offset_within_address_space %"PRIu64" offset_within_region %"PRIu64 40 …age) "vdpa_shared: %p region %s offset_within_address_space %"PRIu64" offset_within_region %"PRIu64
|
| H A D | virtio-mem.c | 258 first_bit = s->offset_within_region / vmem->block_size; in virtio_mem_for_each_plugged_section() 290 first_bit = s->offset_within_region / vmem->block_size; in virtio_mem_for_each_unplugged_section() 1719 uint64_t start_gpa = vmem->addr + s->offset_within_region; in virtio_mem_rdm_is_populated()
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | xen_gnttab.c | 257 memory_region_set_dirty(mrs->mr, mrs->offset_within_region, in gnt_unref() 388 act->mrs.offset_within_region); in xen_be_gnttab_map_refs()
|
| /openbmc/qemu/hw/i386/xen/ |
| H A D | xen-hvm.c | 255 hwaddr offset_within_region) in xen_add_to_physmap() argument 735 section->mr, section->offset_within_region); in arch_xen_set_memory()
|
| /openbmc/qemu/monitor/ |
| H A D | hmp-cmds-target.c | 279 return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region); in gpa2hva()
|
| /openbmc/qemu/migration/ |
| H A D | ram.c | 864 const hwaddr offset = section->offset_within_region; in dirty_bitmap_clear_section() 905 .offset_within_region = 0, in ramblock_dirty_bitmap_clear_discarded_pages() 928 .offset_within_region = start, in ramblock_page_is_discarded() 1534 hwaddr offset = section->offset_within_region; in populate_read_section() 1567 .offset_within_region = 0, in ram_block_populate_read() 1609 const hwaddr offset = section->offset_within_region; in uffd_protect_section() 1626 .offset_within_region = 0, in ram_block_uffd_protect()
|
| /openbmc/qemu/target/i386/kvm/ |
| H A D | xen-emu.c | 340 mrs.offset_within_region); in set_vcpu_info() 1907 memory_region_set_dirty(mrs.mr, mrs.offset_within_region, in kvm_get_xen_state()
|
| /openbmc/qemu/backends/ |
| H A D | igvm.c | 212 return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region); in qigvm_prepare_memory()
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt.c | 642 + sec->offset_within_region; in xen_pt_region_update()
|