Home
last modified time | relevance | path

Searched refs:guest_phys_addr (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c303 region->region.guest_phys_addr, in kvm_vm_restart()
356 uint64_t existing_start = region->region.guest_phys_addr; in userspace_mem_region_find()
357 uint64_t existing_end = region->region.guest_phys_addr in userspace_mem_region_find()
640 (uint64_t) region->region.guest_phys_addr, in vm_userspace_mem_region_add()
654 (uint64_t) region->region.guest_phys_addr, in vm_userspace_mem_region_add()
713 region->region.guest_phys_addr = guest_paddr; in vm_userspace_mem_region_add()
812 region->region.guest_phys_addr = new_gpa; in vm_mem_region_move()
1109 if ((gpa >= region->region.guest_phys_addr) in addr_gpa2hva()
1110 && (gpa <= (region->region.guest_phys_addr in addr_gpa2hva()
1113 + (gpa - region->region.guest_phys_addr)); in addr_gpa2hva()
[all …]
/Linux-v5.10/include/uapi/linux/
Dvhost_types.h98 __u64 guest_phys_addr; member
Dkvm.h92 __u64 guest_phys_addr; member
100 __u64 guest_phys_addr; member
/Linux-v5.10/arch/x86/include/uapi/asm/
Dkvm.h58 __u64 guest_phys_addr; member
/Linux-v5.10/tools/arch/x86/include/uapi/asm/
Dkvm.h58 __u64 guest_phys_addr; member
/Linux-v5.10/tools/virtio/
Dvirtio_test.c146 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
/Linux-v5.10/arch/arm64/kvm/
Dmmu.c1343 gpa_t gpa = mem->guest_phys_addr + in kvm_arch_prepare_memory_region()
1370 unmap_stage2_range(&kvm->arch.mmu, mem->guest_phys_addr, mem->memory_size); in kvm_arch_prepare_memory_region()
/Linux-v5.10/tools/include/uapi/linux/
Dkvm.h92 __u64 guest_phys_addr; member
100 __u64 guest_phys_addr; member
/Linux-v5.10/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c523 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
/Linux-v5.10/virt/kvm/
Dkvm_main.c1289 if (mem->guest_phys_addr & (PAGE_SIZE - 1)) in __kvm_set_memory_region()
1298 if (mem->guest_phys_addr + mem->memory_size < mem->guest_phys_addr) in __kvm_set_memory_region()
1321 new.base_gfn = mem->guest_phys_addr >> PAGE_SHIFT; in __kvm_set_memory_region()
/Linux-v5.10/drivers/vhost/
Dvhost.c1449 region->guest_phys_addr, in vhost_set_memory()
1450 region->guest_phys_addr + in vhost_set_memory()
/Linux-v5.10/arch/mips/kvm/
Dmips.c246 __func__, kvm, mem->slot, mem->guest_phys_addr, in kvm_arch_commit_memory_region()
/Linux-v5.10/arch/s390/kvm/
Dkvm-s390.c4980 if (mem->guest_phys_addr + mem->memory_size > kvm->arch.mem_limit) in kvm_arch_prepare_memory_region()
5010 mem->guest_phys_addr, mem->memory_size); in kvm_arch_commit_memory_region()
/Linux-v5.10/Documentation/virt/kvm/
Dapi.rst1236 __u64 guest_phys_addr;
1267 It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr
/Linux-v5.10/arch/x86/kvm/
Dx86.c10389 m.guest_phys_addr = gpa; in __x86_set_memory_region()