Searched refs:userspace_addr (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/include/trace/events/
H A Dkvm.h263 PAGE_SHIFT) + slot->userspace_addr;
/linux-4.1.27/include/uapi/linux/
H A Dvhost.h53 __u64 userspace_addr; member in struct:vhost_memory_region
H A Dkvm.h101 __u64 userspace_addr; /* start of the userspace allocated memory */ member in struct:kvm_userspace_memory_region
/linux-4.1.27/tools/virtio/
H A Dvirtio_test.c132 dev->mem->regions[0].userspace_addr = (long)dev->buf; vdev_info_init()
/linux-4.1.27/arch/arm/kvm/
H A Dmmu.c747 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 Dkvm_host.h289 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 Dkvm_main.c787 ((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 Dkvm-s390.c2580 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 Dx86.c7562 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 Dmmu.c1426 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 Dvhost.c510 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 Dbook3s_64_mmu_hv.c682 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 Dbook3s_pr.c264 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 Dbook3s_hv.c2472 hva = memslot->userspace_addr; kvmppc_hv_setup_htab_rma()
/linux-4.1.27/arch/mips/kvm/
H A Dmips.c217 mem->memory_size, mem->userspace_addr); kvm_arch_commit_memory_region()

Completed in 483 milliseconds