Home
last modified time | relevance | path

Searched refs:gpa_t (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/virt/kvm/
Diodev.h31 gpa_t addr,
35 gpa_t addr,
53 gpa_t addr, int l, void *v) in kvm_iodevice_read()
59 gpa_t addr, int l, const void *v) in kvm_iodevice_write()
Dcoalesced_mmio.c25 gpa_t addr, int len) in coalesced_mmio_in_range()
62 gpa_t addr, int len, const void *val) in coalesced_mmio_write()
Dioapic.c274 static inline int ioapic_in_range(struct kvm_ioapic *ioapic, gpa_t addr) in ioapic_in_range()
280 static int ioapic_mmio_read(struct kvm_io_device *this, gpa_t addr, int len, in ioapic_mmio_read()
323 static int ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len, in ioapic_mmio_write()
Deventfd.c448 ioeventfd_in_range(struct _ioeventfd *p, gpa_t addr, int len, const void *val) in ioeventfd_in_range()
486 ioeventfd_write(struct kvm_io_device *this, gpa_t addr, int len, in ioeventfd_write()
Dkvm_main.c1310 int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len) in kvm_read_guest()
1330 int kvm_read_guest_atomic(struct kvm *kvm, gpa_t gpa, void *data, in kvm_read_guest_atomic()
1367 int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data, in kvm_write_guest()
1388 gpa_t gpa) in kvm_gfn_to_hva_cache_init()
1435 int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len) in kvm_clear_guest()
2323 int kvm_io_bus_write(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_write()
2337 int kvm_io_bus_read(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_read()
/linux-2.6.39/arch/x86/include/asm/
Dkvm_host.h45 #define UNMAPPED_GVA (~(gpa_t)0)
250 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gva_t gva, u32 access,
252 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access);
371 gpa_t time;
439 gpa_t wall_clock;
443 gpa_t ept_identity_map_addr;
622 int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,
625 gpa_t addr, unsigned long *ret);
705 void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa,
713 gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva,
[all …]
/linux-2.6.39/include/linux/
Dkvm_host.h72 int kvm_io_bus_write(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr,
74 int kvm_io_bus_read(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, int len,
137 gpa_t mmio_phys_addr;
377 int kvm_read_guest_atomic(struct kvm *kvm, gpa_t gpa, void *data,
379 int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len);
382 int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data,
387 gpa_t gpa);
389 int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len);
606 static inline gpa_t gfn_to_gpa(gfn_t gfn) in gfn_to_gpa()
608 return (gpa_t)gfn << PAGE_SHIFT; in gfn_to_gpa()
[all …]
Dkvm_types.h34 typedef u64 gpa_t; typedef
72 gpa_t gpa;
/linux-2.6.39/arch/x86/kvm/
Dpaging_tmpl.h69 gpa_t pte_gpa[PT_MAX_FULL_LEVELS];
122 gpa_t pte_gpa; in FNAME()
216 gpa_t real_gpa; in FNAME()
361 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
632 gpa_t pte_gpa = -1; in FNAME()
687 static gpa_t FNAME(gva_to_gpa)(struct kvm_vcpu *vcpu, gva_t vaddr, u32 access, in FNAME()
691 gpa_t gpa = UNMAPPED_GVA; in FNAME()
705 static gpa_t FNAME(gva_to_gpa_nested)(struct kvm_vcpu *vcpu, gva_t vaddr, in FNAME()
710 gpa_t gpa = UNMAPPED_GVA; in FNAME()
729 gpa_t pte_gpa; in FNAME()
[all …]
Dlapic.h17 gpa_t vapic_addr;
44 void kvm_lapic_set_vapic_addr(struct kvm_vcpu *vcpu, gpa_t vapic_addr);
Di8254.c435 static inline int pit_in_range(gpa_t addr) in pit_in_range()
442 gpa_t addr, int len, const void *data) in pit_ioport_write()
518 gpa_t addr, int len, void *data) in pit_ioport_read()
588 gpa_t addr, int len, const void *data) in speaker_ioport_write()
605 gpa_t addr, int len, void *data) in speaker_ioport_read()
Di8259.c447 static int picdev_in_range(gpa_t addr) in picdev_in_range()
468 gpa_t addr, int len, const void *val) in picdev_write()
498 gpa_t addr, int len, void *val) in picdev_read()
Dx86.c404 gpa_t ngpa; in kvm_read_guest_page_mmu()
881 static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock) in kvm_write_wall_clock()
1437 gpa_t gpa = data & ~0x3f; in kvm_pv_enable_async_pf()
3595 static int vcpu_mmio_write(struct kvm_vcpu *vcpu, gpa_t addr, int len, in vcpu_mmio_write()
3605 static int vcpu_mmio_read(struct kvm_vcpu *vcpu, gpa_t addr, int len, void *v) in vcpu_mmio_read()
3626 static gpa_t translate_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access) in translate_gpa()
3631 static gpa_t translate_nested_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access) in translate_nested_gpa()
3633 gpa_t t_gpa; in translate_nested_gpa()
3645 gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_read()
3652 gpa_t kvm_mmu_gva_to_gpa_fetch(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_fetch()
[all …]
Dlapic.c631 static int apic_mmio_in_range(struct kvm_lapic *apic, gpa_t addr) in apic_mmio_in_range()
639 gpa_t address, int len, void *data) in apic_mmio_read()
835 gpa_t address, int len, const void *data) in apic_mmio_write()
1214 void kvm_lapic_set_vapic_addr(struct kvm_vcpu *vcpu, gpa_t vapic_addr) in kvm_lapic_set_vapic_addr()
Dmmu.c2251 static int __direct_map(struct kvm_vcpu *vcpu, gpa_t v, int write, in __direct_map()
2653 static gpa_t nonpaging_gva_to_gpa(struct kvm_vcpu *vcpu, gva_t vaddr, in nonpaging_gva_to_gpa()
2661 static gpa_t nonpaging_gva_to_gpa_nested(struct kvm_vcpu *vcpu, gva_t vaddr, in nonpaging_gva_to_gpa_nested()
3223 void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, in kvm_mmu_pte_write()
3253 gpa &= ~(gpa_t)7; in kvm_mmu_pte_write()
3363 gpa_t gpa; in kvm_mmu_unprotect_page_virt()
3682 gpa_t addr, gpa_t value) in kvm_pv_mmu_write()
3706 static int kvm_pv_mmu_release_pt(struct kvm_vcpu *vcpu, gpa_t addr) in kvm_pv_mmu_release_pt()
3753 gpa_t addr, unsigned long *ret) in kvm_pv_mmu_op()
Dvmx.c453 static inline void __invept(int ext, u64 eptp, gpa_t gpa) in __invept()
561 static inline void ept_sync_individual_addr(u64 eptp, gpa_t gpa) in ept_sync_individual_addr()
3560 gpa_t gpa; in handle_ept_violation()
3653 gpa_t gpa; in handle_ept_misconfig()
/linux-2.6.39/arch/powerpc/include/asm/
Dkvm_ppc.h67 extern void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gpa_t gpaddr,
75 extern gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int gtlb_index,
Dkvm_host.h277 gpa_t paddr_accessed;
/linux-2.6.39/arch/powerpc/kvm/
D44x_tlb.c213 gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int gtlb_index, in kvmppc_mmu_xlate()
292 void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gpa_t gpaddr, in kvmppc_mmu_map()
420 gpa_t gpa; in tlbe_is_host_safe()
477 gpa_t gpaddr; in kvmppc_44x_emul_tlbwe()
De500_tlb.h167 gpa_t gpa; in tlbe_is_host_safe()
Dbooke.c392 gpa_t gpaddr; in kvmppc_handle_exit()
434 gpa_t gpaddr; in kvmppc_handle_exit()
De500_tlb.c605 gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int index, in kvmppc_mmu_xlate()
629 void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 eaddr, gpa_t gpaddr, in kvmppc_mmu_map()