/openbmc/qemu/hw/vfio/ |
H A D | spapr.c | 49 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr() 59 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_add() 70 section->offset_within_address_space, in vfio_prereg_listener_region_add() 71 section->offset_within_address_space + in vfio_prereg_listener_region_add() 76 if (unlikely((section->offset_within_address_space & ~page_mask) || in vfio_prereg_listener_region_add() 83 end = section->offset_within_address_space + int128_get64(section->size); in vfio_prereg_listener_region_add() 118 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_del() 129 section->offset_within_address_space, in vfio_prereg_listener_region_del() 130 section->offset_within_address_space + in vfio_prereg_listener_region_del() 135 if (unlikely((section->offset_within_address_space & ~page_mask) || in vfio_prereg_listener_region_del() [all …]
|
H A D | common.c | 254 section->offset_within_address_space & (1ULL << 63); in vfio_listener_skipped_section() 354 const hwaddr iova = section->offset_within_address_space; in vfio_ram_discard_notify_discard() 386 section->offset_within_address_space; in vfio_ram_discard_notify_populate() 408 g_assert(QEMU_IS_ALIGNED(section->offset_within_address_space, in vfio_register_ram_discard_listener() 415 vrdl->offset_within_address_space = section->offset_within_address_space; in vfio_register_ram_discard_listener() 455 start = QEMU_ALIGN_DOWN(vrdl->offset_within_address_space, in vfio_register_ram_discard_listener() 457 end = ROUND_UP(vrdl->offset_within_address_space + vrdl->size, in vfio_register_ram_discard_listener() 482 vrdl->offset_within_address_space == in vfio_unregister_ram_discard_listener() 483 section->offset_within_address_space) { in vfio_unregister_ram_discard_listener() 507 section->offset_within_address_space, in vfio_known_safe_misalignment() [all …]
|
/openbmc/qemu/hw/remote/ |
H A D | proxy-memory-listener.c | 96 mrs_gpa = section->offset_within_address_space; in try_merge() 110 uint64_t prev_gpa_start = prev_sec->offset_within_address_space; in try_merge() 126 prev_sec->offset_within_address_space = in try_merge() 189 section->offset_within_address_space; in proxy_memory_listener_commit()
|
/openbmc/qemu/accel/hvf/ |
H A D | hvf-accel-ops.c | 138 !QEMU_IS_ALIGNED(section->offset_within_address_space, page_size)) { in hvf_set_phys_mem() 144 section->offset_within_address_space, in hvf_set_phys_mem() 149 mem->start == section->offset_within_address_space && in hvf_set_phys_mem() 193 mem->start = section->offset_within_address_space; in hvf_set_phys_mem() 244 section->offset_within_address_space, in hvf_set_dirty_tracking()
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-vdpa.c | 37 Int128 llend = int128_make64(section->offset_within_address_space); in vhost_vdpa_section_end() 64 if (section->offset_within_address_space < iova_min) { in vhost_vdpa_listener_skipped_section() 67 iova_min, section->offset_within_address_space); in vhost_vdpa_listener_skipped_section() 279 iommu->iommu_offset = section->offset_within_address_space - in vhost_vdpa_iommu_region_add() 335 if (unlikely((section->offset_within_address_space & ~page_mask) != in vhost_vdpa_listener_region_add() 338 section->offset_within_address_space & ~page_mask, in vhost_vdpa_listener_region_add() 343 iova = ROUND_UP(section->offset_within_address_space, page_size); in vhost_vdpa_listener_region_add() 355 (iova - section->offset_within_address_space); in vhost_vdpa_listener_region_add() 421 if (unlikely((section->offset_within_address_space & ~page_mask) != in vhost_vdpa_listener_region_del() 424 section->offset_within_address_space & ~page_mask, in vhost_vdpa_listener_region_del() [all …]
|
H A D | vhost.c | 126 section_offset = page_addr - section->offset_within_address_space; in vhost_dev_sync_region() 206 start_addr = section->offset_within_address_space; in vhost_sync_dirty_bitmap() 680 cur_vmr->guest_phys_addr = mrs->offset_within_address_space; in vhost_commit() 748 uint64_t mrs_gpa = section->offset_within_address_space; in vhost_region_add_section() 783 uint64_t prev_gpa_start = prev_sec->offset_within_address_space; in vhost_region_add_section() 811 prev_sec->offset_within_address_space = in vhost_region_add_section() 820 prev_sec->offset_within_address_space, in vhost_region_add_section() 904 iommu->iommu_offset = section->offset_within_address_space - in vhost_iommu_region_add()
|
H A D | virtio-mmio.c | 837 section.offset_within_address_space); in virtio_mmio_bus_get_dev_path() 840 section.offset_within_address_space); in virtio_mmio_bus_get_dev_path()
|
H A D | trace-events | 38 …_t offset_as, uint64_t offset_page) "vdpa_shared: %p region %s offset_within_address_space %"PRIu6… 40 …_t offset_as, uint64_t offset_page) "vdpa_shared: %p region %s offset_within_address_space %"PRIu6…
|
H A D | virtio-mem.c | 261 s->offset_within_address_space += start - s->offset_within_region; in virtio_mem_intersect_memory_section()
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen_native.h | 370 hwaddr start_addr = section->offset_within_address_space; in xen_map_memory_section() 387 hwaddr start_addr = section->offset_within_address_space; in xen_unmap_memory_section() 404 hwaddr start_addr = section->offset_within_address_space; in xen_map_io_section() 421 hwaddr start_addr = section->offset_within_address_space; in xen_unmap_io_section()
|
/openbmc/qemu/hw/intc/ |
H A D | openpic_kvm.c | 139 reg_base = section->offset_within_address_space; in kvm_openpic_region_add() 167 if (section->offset_within_address_space != opp->mapped) { in kvm_openpic_region_del()
|
H A D | arm_gicv3_its_kvm.c | 55 s->gits_translater_gpa = mrs.offset_within_address_space + 0x40; in kvm_its_send_msi()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt.c | 599 .addr = sec->offset_within_address_space, in xen_pt_region_update() 611 s->msix->mmio_base_addr = sec->offset_within_address_space; in xen_pt_region_update() 623 bar, sec->offset_within_address_space, in xen_pt_region_update() 628 uint32_t guest_port = sec->offset_within_address_space; in xen_pt_region_update() 639 pcibus_t guest_addr = sec->offset_within_address_space; in xen_pt_region_update()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 310 range_covers_byte(section->offset_within_address_space, in section_covers_addr() 368 addr -= section->offset_within_address_space; in address_space_translate_internal() 544 xlat += section.offset_within_address_space - in address_space_get_iotlb_entry() 1055 hwaddr base = section->offset_within_address_space in register_subpage() 1059 .offset_within_address_space = base, in register_subpage() 1075 start = section->offset_within_address_space & ~TARGET_PAGE_MASK; in register_subpage() 1086 hwaddr start_addr = section->offset_within_address_space; in register_multipage() 1108 if (remain.offset_within_address_space & ~TARGET_PAGE_MASK) { in flatview_add_to_dispatch() 1109 uint64_t left = TARGET_PAGE_ALIGN(remain.offset_within_address_space) in flatview_add_to_dispatch() 1110 - remain.offset_within_address_space; in flatview_add_to_dispatch() [all...] |
H A D | memory_mapping.c | 201 const hwaddr target_start = section->offset_within_address_space; in guest_phys_block_add_section()
|
H A D | memory.c | 241 .offset_within_address_space = int128_get64(fr->addr.start), in section_from_flat_range() 929 .offset_within_address_space = int128_get64(fd->addr.start), in address_space_add_del_ioeventfds() 942 .offset_within_address_space = int128_get64(fd->addr.start), in address_space_add_del_ioeventfds() 2492 mrs.offset_within_address_space += in memory_region_clear_dirty_bitmap() 2985 ret.offset_within_address_space = int128_get64(range.start); in memory_region_find_rcu() 3225 .offset_within_address_space = int128_get64(fd->addr.start), in listener_add_address_space() 3276 .offset_within_address_space = int128_get64(fd->addr.start), in listener_del_address_space()
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-container-base.h | 66 hwaddr offset_within_address_space; member
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 435 xen_sync_dirty_bitmap(state, section->offset_within_address_space, in xen_log_start() 456 xen_sync_dirty_bitmap(state, section->offset_within_address_space, in xen_log_sync() 708 hwaddr start_addr = section->offset_within_address_space; in arch_xen_set_memory()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 318 aligned = ROUND_UP(section->offset_within_address_space, in kvm_align_section() 320 delta = aligned - section->offset_within_address_space; in kvm_align_section() 1140 start = section->offset_within_address_space; in kvm_physical_log_clear() 1477 section->offset_within_address_space; in kvm_set_phys_mem() 1727 range_init_nofail(&r1, u1->section.offset_within_address_space, in kvm_region_commit() 1729 range_init_nofail(&r2, u2->section.offset_within_address_space, in kvm_region_commit() 1840 r = kvm_set_ioeventfd_mmio(fd, section->offset_within_address_space, in kvm_mem_ioeventfd_add() 1858 r = kvm_set_ioeventfd_mmio(fd, section->offset_within_address_space, in kvm_mem_ioeventfd_del() 1876 r = kvm_set_ioeventfd_pio(fd, section->offset_within_address_space, in kvm_io_ioeventfd_add() 1895 r = kvm_set_ioeventfd_pio(fd, section->offset_within_address_space, in kvm_io_ioeventfd_del()
|
/openbmc/qemu/include/exec/ |
H A D | memory.h | 105 hwaddr offset_within_address_space; member 1180 a->offset_within_address_space == b->offset_within_address_space && in MemoryRegionSection_eq()
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 667 kd->kda.addr = section->offset_within_address_space; in kvm_arm_devlistener_add() 1585 doorbell_gpa = mrs.offset_within_address_space; in kvm_arch_fixup_msi_route()
|
/openbmc/qemu/target/i386/nvmm/ |
H A D | nvmm-all.c | 1055 hwaddr start_pa = section->offset_within_address_space; in nvmm_process_section()
|
/openbmc/qemu/hw/display/ |
H A D | exynos4210_fimd.c | 1154 assert(w->mem_section.offset_within_address_space == fb_start_addr); in fimd_update_memory_section()
|
/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-all.c | 2340 hwaddr start_pa = section->offset_within_address_space; in whpx_process_section()
|