Home
last modified time | relevance | path

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

12

/openbmc/qemu/hw/vfio/
H A Dspapr.c72 int128_get64(int128_sub(section->size, int128_one()))); in vfio_prereg_listener_region_add()
78 (int128_get64(section->size) & ~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()
131 int128_get64(int128_sub(section->size, int128_one()))); in vfio_prereg_listener_region_del()
137 (int128_get64(section->size) & ~page_mask))) { in vfio_prereg_listener_region_del()
142 end = section->offset_within_address_space + int128_get64(section->size); in vfio_prereg_listener_region_del()
270 create.window_size = int128_get64(section->size); in vfio_spapr_create_window()
350 end = iova + int128_get64(section->size) - 1; in vfio_spapr_container_add_section_window()
370 int128_get64(section->size))) { in vfio_spapr_container_add_section_window()
376 int128_get64(section->size) - 1, in vfio_spapr_container_add_section_window()
[all …]
H A Dcommon.c353 const hwaddr size = int128_get64(section->size); in vfio_ram_discard_notify_discard()
372 int128_get64(section->size); in vfio_ram_discard_notify_populate()
410 g_assert(QEMU_IS_ALIGNED(int128_get64(section->size), TARGET_PAGE_SIZE)); in vfio_register_ram_discard_listener()
416 vrdl->size = int128_get64(section->size); in vfio_register_ram_discard_listener()
520 int128_get64(int128_sub(section->size, int128_one()))); in vfio_listener_valid_section()
560 *out_end = int128_get64(int128_sub(llend, int128_one())); in vfio_get_section_iova_range()
625 int128_get64(llend), in vfio_listener_region_add()
663 if ((iova & pgmask) || (int128_get64(llsize) & pgmask)) { in vfio_listener_region_add()
673 ret = vfio_container_dma_map(bcontainer, iova, int128_get64(llsize), in vfio_listener_region_add()
678 bcontainer, iova, int128_get64(llsize), vaddr, ret, in vfio_listener_region_add()
[all …]
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c95 mrs_size = int128_get64(section->size); in try_merge()
111 uint64_t prev_size = int128_get64(prev_sec->size); in try_merge()
190 msg.data.sync_sysmem.sizes[region] = int128_get64(section->size); in proxy_memory_listener_commit()
H A Dvfio-user-obj.c441 section_size = int128_get64(section.size); in vfu_object_bar_rw()
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c137 if (!QEMU_IS_ALIGNED(int128_get64(section->size), page_size) || in hvf_set_phys_mem()
145 int128_get64(section->size)); in hvf_set_phys_mem()
148 if (mem->size == int128_get64(section->size) && in hvf_set_phys_mem()
191 mem->size = int128_get64(section->size); in hvf_set_phys_mem()
245 int128_get64(section->size)); in hvf_set_dirty_tracking()
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c82 iova_max, int128_get64(llend)); in vhost_vdpa_listener_skipped_section()
224 s->iova_range.last, int128_get64(llend)); in vhost_vdpa_iommu_map_notify()
277 int128_get64(end), in vhost_vdpa_iommu_region_add()
357 trace_vhost_vdpa_listener_region_add(s, iova, int128_get64(llend), in vhost_vdpa_listener_region_add()
365 mem_region.size = int128_get64(llsize) - 1, in vhost_vdpa_listener_region_add()
379 int128_get64(llsize), vaddr, section->readonly); in vhost_vdpa_listener_region_add()
433 int128_get64(int128_sub(llend, int128_one()))); in vhost_vdpa_listener_region_del()
448 .size = int128_get64(llsize) - 1, in vhost_vdpa_listener_region_del()
466 int128_get64(llsize)); in vhost_vdpa_listener_region_del()
471 s, iova, int128_get64(llsize), ret); in vhost_vdpa_listener_region_del()
[all …]
H A Dvhost.c207 end_addr = range_get_last(start_addr, int128_get64(section->size)); in vhost_sync_dirty_bitmap()
681 cur_vmr->memory_size = int128_get64(mrs->size); in vhost_commit()
747 uint64_t mrs_size = int128_get64(section->size); in vhost_region_add_section()
784 uint64_t prev_size = int128_get64(prev_sec->size); in vhost_region_add_section()
819 int128_get64(prev_sec->size), in vhost_region_add_section()
901 int128_get64(end), in vhost_iommu_region_add()
H A Dvirtio-mem.c254 uint64_t end = MIN(s->offset_within_region + int128_get64(s->size), in virtio_mem_intersect_memory_section()
1714 uint64_t end_gpa = start_gpa + int128_get64(s->size); in virtio_mem_rdm_is_populated()
/openbmc/qemu/system/
H A Dmemory.c241 .offset_within_address_space = int128_get64(fr->addr.start), in section_from_flat_range()
779 offset_in_region = int128_get64(int128_sub(clip.start, base)); in render_memory_region()
803 offset_in_region += int128_get64(now); in render_memory_region()
810 offset_in_region += int128_get64(now); in render_memory_region()
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()
1039 int128_get64(tmp.start), in flat_range_coalesced_io_notify()
1040 int128_get64(tmp.size)); in flat_range_coalesced_io_notify()
1043 int128_get64(tmp.start), in flat_range_coalesced_io_notify()
1044 int128_get64(tmp.size)); in flat_range_coalesced_io_notify()
[all …]
H A Dphysmem.c388 *plen = int128_get64(int128_min(diff, int128_make64(*plen))); in address_space_translate_internal()
1076 end = start + int128_get64(section->size) - 1; in register_subpage()
1088 uint64_t num_pages = int128_get64(int128_rshift(section->size, in register_multipage()
1119 remain.offset_within_address_space += int128_get64(now.size); in flatview_add_to_dispatch()
1120 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch()
1132 remain.offset_within_address_space += int128_get64(now.size); in flatview_add_to_dispatch()
1133 remain.offset_within_region += int128_get64(now.size); in flatview_add_to_dispatch()
3381 l = int128_get64(int128_min(diff, int128_make64(l))); in address_space_cache_init()
3792 #define MR_SIZE(size) (int128_nz(size) ? (hwaddr)int128_get64( \
H A Dmemory_mapping.c202 const hwaddr target_end = target_start + int128_get64(section->size); in guest_phys_block_add_section()
/openbmc/qemu/include/hw/xen/
H A Dxen_native.h371 ram_addr_t size = int128_get64(section->size); in xen_map_memory_section()
388 ram_addr_t size = int128_get64(section->size); in xen_unmap_memory_section()
405 ram_addr_t size = int128_get64(section->size); in xen_map_io_section()
422 ram_addr_t size = int128_get64(section->size); in xen_unmap_io_section()
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py351 def int128_get64(val): function
425 section_size = int128_get64(flat_range["addr"]["size"])
426 target_start = int128_get64(flat_range["addr"]["start"])
/openbmc/qemu/hw/display/
H A Dframebuffer.c44 if (int128_get64(mem_section->size) < src_len || in framebuffer_update_memory_section()
/openbmc/qemu/hw/xen/
H A Dxen_pt.c600 .size = int128_get64(sec->size), in xen_pt_region_update()
624 int128_get64(sec->size)); in xen_pt_region_update()
630 uint32_t size = int128_get64(sec->size); in xen_pt_region_update()
642 pcibus_t size = int128_get64(sec->size); in xen_pt_region_update()
/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c436 int128_get64(section->size)); in xen_log_start()
457 int128_get64(section->size)); in xen_log_sync()
709 ram_addr_t size = int128_get64(section->size); in arch_xen_set_memory()
/openbmc/qemu/include/qemu/
H A Dint128.h30 static inline uint64_t int128_get64(Int128 a) in int128_get64() function
263 static inline uint64_t int128_get64(Int128 a) in int128_get64() function
/openbmc/qemu/semihosting/
H A Darm-compat-semi.c128 uint64_t size = int128_get64(len); in find_ram_cb()
135 info->rambase = int128_get64(start); in find_ram_cb()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c312 hwaddr size = int128_get64(section->size); in kvm_align_section()
1141 size = int128_get64(section->size); in kvm_physical_log_clear()
1728 int128_get64(u1->section.size)); in kvm_region_commit()
1730 int128_get64(u2->section.size)); in kvm_region_commit()
1827 int128_get64(section->size)); in kvm_log_clear()
1841 data, true, int128_get64(section->size), in kvm_mem_ioeventfd_add()
1859 data, false, int128_get64(section->size), in kvm_mem_ioeventfd_del()
1877 data, true, int128_get64(section->size), in kvm_io_ioeventfd_add()
1896 data, false, int128_get64(section->size), in kvm_io_ioeventfd_del()
/openbmc/qemu/hw/pci-host/
H A Dppce500.c425 0, int128_get64(ccsr->ccsr_space.size)); in e500_pcihost_bridge_realize()
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c1056 ram_addr_t size = int128_get64(section->size); in nvmm_process_section()
1119 memory_region_set_dirty(mr, 0, int128_get64(section->size)); in nvmm_log_sync()
/openbmc/qemu/migration/
H A Dram.c844 const hwaddr size = int128_get64(section->size); in dirty_bitmap_clear_section()
1544 const hwaddr size = int128_get64(section->size); in populate_read_section()
1619 const hwaddr size = int128_get64(section->size); in uffd_protect_section()
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c2341 ram_addr_t size = int128_get64(section->size); in whpx_process_section()
2399 memory_region_set_dirty(mr, 0, int128_get64(section->size)); in whpx_log_sync()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c396 subregion_size = int128_get64(subregion->size); in s390_get_subregion()
/openbmc/qemu/hw/hyperv/
H A Dhv-balloon.c935 pagecnt = int128_get64(section.size) / HV_BALLOON_PAGE_SIZE; in hv_balloon_handle_remove_ranges()

12