/linux-4.1.27/include/trace/events/ |
H A D | kvm.h | 263 PAGE_SHIFT) + slot->userspace_addr;
|
/linux-4.1.27/include/uapi/linux/ |
H A D | vhost.h | 53 __u64 userspace_addr; member in struct:vhost_memory_region
|
H A D | kvm.h | 101 __u64 userspace_addr; /* start of the userspace allocated memory */ member in struct:kvm_userspace_memory_region
|
/linux-4.1.27/tools/virtio/ |
H A D | virtio_test.c | 132 dev->mem->regions[0].userspace_addr = (long)dev->buf; vdev_info_init()
|
/linux-4.1.27/arch/arm/kvm/ |
H A D | mmu.c | 747 hva_t hva = memslot->userspace_addr; stage2_unmap_memslot() 778 gpa_t gpa = addr + (vm_start - memslot->userspace_addr); stage2_unmap_memslot() 1259 if ((memslot->userspace_addr & ~PMD_MASK) != user_mem_abort() 1483 hva_start = max(start, memslot->userspace_addr); kvm_for_each_memslot() 1484 hva_end = min(end, memslot->userspace_addr + kvm_for_each_memslot() 1743 hva_t hva = mem->userspace_addr; kvm_arch_prepare_memory_region() 1796 (vm_start - mem->userspace_addr); kvm_arch_prepare_memory_region()
|
/linux-4.1.27/include/linux/ |
H A D | kvm_host.h | 289 unsigned long userspace_addr; member in struct:kvm_memory_slot 850 return slot->userspace_addr + (gfn - slot->base_gfn) * PAGE_SIZE; __gfn_to_hva_memslot() 861 gfn_t gfn_offset = (hva - slot->userspace_addr) >> PAGE_SHIFT; hva_to_gfn_memslot()
|
/linux-4.1.27/virt/kvm/ |
H A D | kvm_main.c | 787 ((mem->userspace_addr & (PAGE_SIZE - 1)) || __kvm_set_memory_region() 789 (void __user *)(unsigned long)mem->userspace_addr, __kvm_set_memory_region() 818 if ((mem->userspace_addr != old.userspace_addr) || __kvm_set_memory_region() 856 new.userspace_addr = mem->userspace_addr; __kvm_set_memory_region()
|
/linux-4.1.27/arch/s390/kvm/ |
H A D | kvm-s390.c | 2580 if (mem->userspace_addr & 0xffffful) kvm_arch_prepare_memory_region() 2602 if (old->userspace_addr == mem->userspace_addr && kvm_arch_commit_memory_region() 2607 rc = gmap_map_segment(kvm->arch.gmap, mem->userspace_addr, kvm_arch_commit_memory_region()
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | x86.c | 7562 ugfn = slot->userspace_addr >> PAGE_SHIFT; kvm_arch_create_memslot() 7611 unsigned long userspace_addr; kvm_arch_prepare_memory_region() local 7617 userspace_addr = vm_mmap(NULL, 0, memslot->npages * PAGE_SIZE, kvm_arch_prepare_memory_region() 7621 if (IS_ERR((void *)userspace_addr)) kvm_arch_prepare_memory_region() 7622 return PTR_ERR((void *)userspace_addr); kvm_arch_prepare_memory_region() 7624 memslot->userspace_addr = userspace_addr; kvm_arch_prepare_memory_region() 7691 ret = vm_munmap(old->userspace_addr, kvm_arch_commit_memory_region()
|
H A D | mmu.c | 1426 hva_start = max(start, memslot->userspace_addr); kvm_for_each_memslot() 1427 hva_end = min(end, memslot->userspace_addr + kvm_for_each_memslot()
|
/linux-4.1.27/drivers/vhost/ |
H A D | vhost.c | 510 unsigned long a = m->userspace_addr; vq_memory_access_ok() 1090 (reg->userspace_addr + addr - reg->guest_phys_addr); translate_desc()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 682 hva_start = max(start, memslot->userspace_addr); kvm_for_each_memslot() 683 hva_end = min(end, memslot->userspace_addr + kvm_for_each_memslot()
|
H A D | book3s_pr.c | 264 hva_start = max(start, memslot->userspace_addr); kvm_for_each_memslot() 265 hva_end = min(end, memslot->userspace_addr + kvm_for_each_memslot()
|
H A D | book3s_hv.c | 2472 hva = memslot->userspace_addr; kvmppc_hv_setup_htab_rma()
|
/linux-4.1.27/arch/mips/kvm/ |
H A D | mips.c | 217 mem->memory_size, mem->userspace_addr); kvm_arch_commit_memory_region()
|