Home
last modified time | relevance | path

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

12

/openbmc/qemu/hw/vfio/
H A Dlistener.c224 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 Dspapr.c55 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 Dcpr-legacy.c215 hwaddr iommu_offset = as_offset - section->offset_within_region; in vfio_cpr_giommu_remap()
H A Dtrace-events100 …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/system/
H A Dram-block-attributes.c42 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 Dmemory_mapping.c204 section->offset_within_region; in guest_phys_block_add_section()
H A Dmemory.c241 .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 Dphysmem.c377 *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 Dhvf-all.c127 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 Dmemory.h102 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 Dframebuffer.c86 addr = mem_section->offset_within_region; in framebuffer_update_display()
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c273 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 Dvhost.c121 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 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
H A Dvirtio-mem.c258 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 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/hw/i386/xen/
H A Dxen-hvm.c255 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 Dhmp-cmds-target.c279 return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region); in gpa2hva()
/openbmc/qemu/migration/
H A Dram.c864 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 Dxen-emu.c340 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 Digvm.c212 return qemu_map_ram_ptr(mrs.mr->ram_block, mrs.offset_within_region); in qigvm_prepare_memory()
/openbmc/qemu/hw/xen/
H A Dxen_pt.c642 + sec->offset_within_region; in xen_pt_region_update()

12