Searched refs:end_gpa (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 21 static void guest_code(uint64_t start_gpa, uint64_t end_gpa, uint64_t stride) in guest_code() argument 25 for (gpa = start_gpa; gpa < end_gpa; gpa += stride) in guest_code() 34 uint64_t end_gpa; member 69 vcpu_args_set(vcpu, 3, info->start_gpa, info->end_gpa, vm->page_size); in vcpu_worker() 93 uint64_t start_gpa, uint64_t end_gpa) in spawn_workers() argument 106 nr_bytes = ((end_gpa - start_gpa) / nr_vcpus) & in spawn_workers() 113 info[i].end_gpa = gpa + nr_bytes; in spawn_workers()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | mmu.c | 155 unsigned long end_gpa) in kvm_mips_flush_gpa_pte() argument 158 int i_max = pte_index(end_gpa); in kvm_mips_flush_gpa_pte() 172 unsigned long end_gpa) in kvm_mips_flush_gpa_pmd() argument 177 int i_max = pmd_index(end_gpa); in kvm_mips_flush_gpa_pmd() 187 end = end_gpa; in kvm_mips_flush_gpa_pmd() 200 unsigned long end_gpa) in kvm_mips_flush_gpa_pud() argument 205 int i_max = pud_index(end_gpa); in kvm_mips_flush_gpa_pud() 215 end = end_gpa; in kvm_mips_flush_gpa_pud() 228 unsigned long end_gpa) in kvm_mips_flush_gpa_pgd() argument 234 int i_max = pgd_index(end_gpa); in kvm_mips_flush_gpa_pgd() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-mem.c | 1714 uint64_t end_gpa = start_gpa + int128_get64(s->size); in virtio_mem_rdm_is_populated() local 1719 end_gpa = QEMU_ALIGN_UP(end_gpa, vmem->block_size); in virtio_mem_rdm_is_populated() 1721 if (!virtio_mem_valid_range(vmem, start_gpa, end_gpa - start_gpa)) { in virtio_mem_rdm_is_populated() 1725 return virtio_mem_is_range_plugged(vmem, start_gpa, end_gpa - start_gpa); in virtio_mem_rdm_is_populated()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 379 const uint64_t end_gpa = start_gpa + msg_region->memory_size; in _vu_add_mem_reg() local 417 if (start_gpa < cur->gpa + cur->size && cur->gpa < end_gpa) { in _vu_add_mem_reg()
|