Home
last modified time | relevance | path

Searched refs:offset_within_region (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/hw/vfio/
H A Dcommon.c371 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate()
381 for (start = section->offset_within_region; start < end; start = next) { in vfio_ram_discard_notify_populate()
385 iova = start - section->offset_within_region + in vfio_ram_discard_notify_populate()
407 g_assert(QEMU_IS_ALIGNED(section->offset_within_region, TARGET_PAGE_SIZE)); in vfio_register_ram_discard_listener()
508 section->offset_within_region, in vfio_known_safe_misalignment()
526 (section->offset_within_region & ~qemu_real_host_page_mask()))) { in vfio_listener_valid_section()
533 section->offset_within_region, in vfio_listener_valid_section()
615 section->offset_within_region; in vfio_listener_region_add()
617 llend = int128_add(int128_make64(section->offset_within_region), in vfio_listener_region_add()
624 section->offset_within_region, in vfio_listener_region_add()
[all …]
H A Dspapr.c48 section->offset_within_region + in vfio_prereg_gpa_to_vaddr()
77 (section->offset_within_region & ~page_mask) || in vfio_prereg_listener_region_add()
136 (section->offset_within_region & ~page_mask) || in vfio_prereg_listener_region_del()
H A Dtrace-events101 …ame, uint64_t iova, uint64_t offset_within_region, uintptr_t page_size) "Region \"%s\" iova=0x%"PR…
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c98 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 Dvfio-user-obj.c440 section_offset = section.offset_within_region; in vfu_object_bar_rw()
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c268 end = int128_add(int128_make64(section->offset_within_region), in vhost_vdpa_iommu_region_add()
276 section->offset_within_region, in vhost_vdpa_iommu_region_add()
280 section->offset_within_region; in vhost_vdpa_iommu_region_add()
305 iommu->n.start == section->offset_within_region) { in vhost_vdpa_iommu_region_del()
336 (section->offset_within_region & ~page_mask))) { in vhost_vdpa_listener_region_add()
339 section->offset_within_region & ~page_mask); in vhost_vdpa_listener_region_add()
354 section->offset_within_region + in vhost_vdpa_listener_region_add()
422 (section->offset_within_region & ~page_mask))) { in vhost_vdpa_listener_region_del()
425 section->offset_within_region & ~page_mask); in vhost_vdpa_listener_region_del()
444 section->offset_within_region + in vhost_vdpa_listener_region_del()
H A Dvhost.c127 mr_offset = section_offset + section->offset_within_region; in vhost_dev_sync_region()
684 mrs->offset_within_region; in vhost_commit()
750 section->offset_within_region; in vhost_region_add_section()
788 prev_sec->offset_within_region; in vhost_region_add_section()
813 prev_sec->offset_within_region = in vhost_region_add_section()
821 prev_sec->offset_within_region); in vhost_region_add_section()
891 end = int128_add(int128_make64(section->offset_within_region), in vhost_iommu_region_add()
900 section->offset_within_region, in vhost_iommu_region_add()
905 section->offset_within_region; in vhost_iommu_region_add()
926 iommu->n.start == section->offset_within_region) { in vhost_iommu_region_del()
H A Dvirtio-mem.c253 uint64_t start = MAX(s->offset_within_region, offset); in virtio_mem_intersect_memory_section()
254 uint64_t end = MIN(s->offset_within_region + int128_get64(s->size), in virtio_mem_intersect_memory_section()
261 s->offset_within_address_space += start - s->offset_within_region; in virtio_mem_intersect_memory_section()
262 s->offset_within_region = start; in virtio_mem_intersect_memory_section()
278 first_bit = s->offset_within_region / vmem->block_size; in virtio_mem_for_each_plugged_section()
310 first_bit = s->offset_within_region / vmem->block_size; in virtio_mem_for_each_unplugged_section()
1713 uint64_t start_gpa = vmem->addr + s->offset_within_region; in virtio_mem_rdm_is_populated()
H A Dvirtio-balloon.c443 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 Dtrace-events38 …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
/openbmc/qemu/hw/display/
H A Dframebuffer.c86 addr = mem_section->offset_within_region; in framebuffer_update_display()
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c151 section->offset_within_region)) { in hvf_set_phys_mem()
192 mem->mem = memory_region_get_ram_ptr(area) + section->offset_within_region; in hvf_set_phys_mem()
/openbmc/qemu/hw/i386/kvm/
H A Dxen_gnttab.c257 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/include/exec/
H A Dmemory.h104 hwaddr offset_within_region; member
1179 a->offset_within_region == b->offset_within_region && in MemoryRegionSection_eq()
/openbmc/qemu/migration/
H A Dram.c843 const hwaddr offset = section->offset_within_region; in dirty_bitmap_clear_section()
883 .offset_within_region = 0, in ramblock_dirty_bitmap_clear_discarded_pages()
906 .offset_within_region = start, in ramblock_page_is_discarded()
1545 hwaddr offset = section->offset_within_region; in populate_read_section()
1578 .offset_within_region = 0, in ram_block_populate_read()
1620 const hwaddr offset = section->offset_within_region; in uffd_protect_section()
1637 .offset_within_region = 0, in ram_block_uffd_protect()
/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c249 hwaddr offset_within_region) in xen_add_to_physmap() argument
729 section->mr, section->offset_within_region); in arch_xen_set_memory()
/openbmc/qemu/monitor/
H A Dhmp-cmds-target.c278 return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region); in gpa2hva()
/openbmc/qemu/system/
H A Dmemory_mapping.c204 section->offset_within_region; in guest_phys_block_add_section()
H A Dmemory.c239 .offset_within_region = fr->offset_in_region, in section_from_flat_range()
2341 .offset_within_region = xlat, in memory_get_xlat_addr()
2479 sec_start = MAX(mrs.offset_within_region, start); in memory_region_clear_dirty_bitmap()
2480 sec_end = mrs.offset_within_region + int128_get64(mrs.size); in memory_region_clear_dirty_bitmap()
2493 sec_start - mrs.offset_within_region; in memory_region_clear_dirty_bitmap()
2494 mrs.offset_within_region = sec_start; in memory_region_clear_dirty_bitmap()
2981 ret.offset_within_region = fr->offset_in_region; in memory_region_find_rcu()
2982 ret.offset_within_region += int128_get64(int128_sub(range.start, in memory_region_find_rcu()
H A Dphysmem.c371 *xlat = addr + section->offset_within_region; in address_space_translate_internal()
545 section.offset_within_region; in address_space_get_iotlb_entry()
1120 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch()
1133 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch()
2501 .offset_within_region = 0, in dummy_section()
3380 int128_make64(cache->xlat - cache->mrs.offset_within_region)); in address_space_cache_init()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c339 mrs.offset_within_region); in set_vcpu_info()
1906 memory_region_set_dirty(mrs.mr, mrs.offset_within_region, in kvm_get_xen_state()
/openbmc/qemu/hw/xen/
H A Dxen_pt.c641 + sec->offset_within_region; in xen_pt_region_update()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c1476 mr_offset = section->offset_within_region + start_addr - in kvm_set_phys_mem()
1826 section->mr->name, section->offset_within_region, in kvm_log_clear()
3073 addr = memory_region_get_ram_ptr(mr) + section.offset_within_region; in kvm_convert_memory()
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c1078 section->offset_within_region + delta; in nvmm_process_section()
/openbmc/qemu/hw/hyperv/
H A Dhv-balloon.c887 section->offset_within_region; in hv_balloon_handle_remove_section()

12