Home
last modified time | relevance | path

Searched refs:gva_t (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_32_mmu.c69 static int kvmppc_mmu_book3s_32_xlate_bat(struct kvm_vcpu *vcpu, gva_t eaddr,
75 static u32 find_sr(struct kvm_vcpu *vcpu, gva_t eaddr) in find_sr()
80 static u64 kvmppc_mmu_book3s_32_ea_to_vp(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_ea_to_vp()
94 u32 sre, gva_t eaddr, in kvmppc_mmu_book3s_32_get_pteg()
121 static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) in kvmppc_mmu_book3s_32_get_ptem()
127 static int kvmppc_mmu_book3s_32_xlate_bat(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate_bat()
182 static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate_pte()
290 static int kvmppc_mmu_book3s_32_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate()
De500.h129 int kvmppc_e500_emul_tlbivax(struct kvm_vcpu *vcpu, gva_t ea);
130 int kvmppc_e500_emul_tlbilx(struct kvm_vcpu *vcpu, int type, gva_t ea);
131 int kvmppc_e500_emul_tlbsx(struct kvm_vcpu *vcpu, gva_t ea);
156 static inline gva_t get_tlb_eaddr(const struct kvm_book3e_206_tlb_entry *tlbe) in get_tlb_eaddr()
167 static inline gva_t get_tlb_end(const struct kvm_book3e_206_tlb_entry *tlbe) in get_tlb_end()
De500_mmu.c48 static int tlb0_set_base(gva_t addr, int sets, int ways) in tlb0_set_base()
58 static int gtlb0_set_base(struct kvmppc_vcpu_e500 *vcpu_e500, gva_t addr) in gtlb0_set_base()
81 gva_t eaddr, int tlbsel, unsigned int pid, int as) in kvmppc_e500_tlb_index()
127 gva_t eaddr, int as) in kvmppc_e500_deliver_tlb_miss()
155 gva_t eaddr; in kvmppc_recalc_tlb1map_range()
245 int kvmppc_e500_emul_tlbivax(struct kvm_vcpu *vcpu, gva_t ea) in kvmppc_e500_emul_tlbivax()
293 gva_t ea) in tlbilx_one()
307 int kvmppc_e500_emul_tlbilx(struct kvm_vcpu *vcpu, int type, gva_t ea) in kvmppc_e500_emul_tlbilx()
341 int kvmppc_e500_emul_tlbsx(struct kvm_vcpu *vcpu, gva_t ea) in kvmppc_e500_emul_tlbsx()
454 gva_t eaddr, unsigned int pid, int as) in kvmppc_e500_tlb_search()
[all …]
Dbook3s_64_mmu.c29 gva_t eaddr) in kvmppc_mmu_book3s_64_find_slbe()
73 static u64 kvmppc_slb_calc_vpn(struct kvmppc_slb *slb, gva_t eaddr) in kvmppc_slb_calc_vpn()
81 static u64 kvmppc_mmu_book3s_64_ea_to_vp(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_64_ea_to_vp()
109 static u32 kvmppc_mmu_book3s_64_get_page(struct kvmppc_slb *slbe, gva_t eaddr) in kvmppc_mmu_book3s_64_get_page()
117 struct kvmppc_slb *slbe, gva_t eaddr, in kvmppc_mmu_book3s_64_get_pteg()
155 static u64 kvmppc_mmu_book3s_64_get_avpn(struct kvmppc_slb *slbe, gva_t eaddr) in kvmppc_mmu_book3s_64_get_avpn()
191 static int kvmppc_mmu_book3s_64_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_64_xlate()
413 static int kvmppc_mmu_book3s_64_slbfee(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_64_slbfee()
Dbook3s_64_mmu_radix.c33 gva_t eaddr, void *to, void *from, in __kvmhv_copy_tofrom_guest_radix()
85 static long kvmhv_copy_tofrom_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmhv_copy_tofrom_guest_radix()
108 long kvmhv_copy_from_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, void *to, in kvmhv_copy_from_guest_radix()
121 long kvmhv_copy_to_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, void *from, in kvmhv_copy_to_guest_radix()
128 int kvmppc_mmu_walk_radix_tree(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_walk_radix_tree()
223 int kvmppc_mmu_radix_translate_table(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_radix_translate_table()
254 int kvmppc_mmu_radix_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_radix_xlate()
De500_emulate.c135 gva_t ea; in kvmppc_core_emulate_op_e500()
De500mc.c59 gva_t eaddr; in kvmppc_e500_tlbil_one()
Dbook3s_64_mmu_hv.c302 gva_t eaddr) in kvmppc_mmu_book3s_hv_find_slbe()
331 static int kvmppc_mmu_book3s_64_hv_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_64_hv_xlate()
420 unsigned long gpa, gva_t ea, int is_store) in kvmppc_hv_emulate_mmio()
De500_mmu_host.c628 gva_t geaddr; in kvmppc_load_last_inst()
Dbook3s_hv_rm_mmu.c1095 long kvmppc_hv_find_lock_hpte(struct kvm *kvm, gva_t eaddr, unsigned long slb_v, in kvmppc_hv_find_lock_hpte()
/Linux-v5.10/arch/x86/kvm/
Dx86.h170 gva_t gva, gfn_t gfn, unsigned access) in vcpu_cache_mmio_info()
196 #define MMIO_GVA_ANY (~(gva_t)0)
198 static inline void vcpu_clear_mmio_info(struct kvm_vcpu *vcpu, gva_t gva) in vcpu_clear_mmio_info()
255 gva_t addr, void *val, unsigned int bytes,
259 gva_t addr, void *val, unsigned int bytes,
274 void kvm_fixup_and_inject_pf_error(struct kvm_vcpu *vcpu, gva_t gva, u16 error_code);
376 int kvm_handle_invpcid(struct kvm_vcpu *vcpu, unsigned long type, gva_t gva);
Dx86.c5865 gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_read()
5872 gpa_t kvm_mmu_gva_to_gpa_fetch(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_fetch()
5880 gpa_t kvm_mmu_gva_to_gpa_write(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_write()
5889 gpa_t kvm_mmu_gva_to_gpa_system(struct kvm_vcpu *vcpu, gva_t gva, in kvm_mmu_gva_to_gpa_system()
5895 static int kvm_read_guest_virt_helper(gva_t addr, void *val, unsigned int bytes, in kvm_read_guest_virt_helper()
5928 gva_t addr, void *val, unsigned int bytes, in kvm_fetch_guest_virt()
5954 gva_t addr, void *val, unsigned int bytes, in kvm_read_guest_virt()
5972 gva_t addr, void *val, unsigned int bytes, in emulator_read_std()
5993 static int kvm_write_guest_virt_helper(gva_t addr, void *val, unsigned int bytes, in kvm_write_guest_virt_helper()
6024 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std()
[all …]
Dtrace.h766 TP_PROTO(gva_t gva, gpa_t gpa, bool write, bool gpa_match),
770 __field(gva_t, gva)
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_book3s.h160 extern long kvmppc_hv_find_lock_hpte(struct kvm *kvm, gva_t eaddr,
163 unsigned long gpa, gva_t ea, int is_store);
179 gva_t eaddr, void *to, void *from,
181 extern long kvmhv_copy_from_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr,
183 extern long kvmhv_copy_to_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr,
185 extern int kvmppc_mmu_walk_radix_tree(struct kvm_vcpu *vcpu, gva_t eaddr,
188 extern int kvmppc_mmu_radix_translate_table(struct kvm_vcpu *vcpu, gva_t eaddr,
191 extern int kvmppc_mmu_radix_xlate(struct kvm_vcpu *vcpu, gva_t eaddr,
Dkvm_host.h404 int (*slbfee)(struct kvm_vcpu *vcpu, gva_t eaddr, ulong *ret_slb);
410 int (*xlate)(struct kvm_vcpu *vcpu, gva_t eaddr,
414 u64 (*ea_to_vp)(struct kvm_vcpu *vcpu, gva_t eaddr, bool data);
713 gva_t vaddr_accessed;
Dkvm_ppc.h109 extern int kvmppc_mmu_dtlb_index(struct kvm_vcpu *vcpu, gva_t eaddr);
110 extern int kvmppc_mmu_itlb_index(struct kvm_vcpu *vcpu, gva_t eaddr);
112 gva_t eaddr);
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx_ops.h21 void invvpid_error(unsigned long ext, u16 vpid, gva_t gva);
255 static inline void __invvpid(unsigned long ext, u16 vpid, gva_t gva) in __invvpid()
296 static inline void vpid_sync_vcpu_addr(int vpid, gva_t addr) in vpid_sync_vcpu_addr()
Dnested.h34 u32 vmx_instruction_info, bool wr, int len, gva_t *ret);
Dnested.c4555 u32 vmx_instruction_info, bool wr, int len, gva_t *ret) in get_vmx_mem_address()
4557 gva_t off; in get_vmx_mem_address()
4587 off = (gva_t)sign_extend64(off, 31); in get_vmx_mem_address()
4589 off = (gva_t)sign_extend64(off, 15); in get_vmx_mem_address()
4702 gva_t gva; in nested_vmx_get_vmptr()
4978 gva_t gva = 0; in handle_vmread()
5062 gva_t gva; in handle_vmwrite()
5241 gva_t gva; in handle_vmptrst()
5277 gva_t gva; in handle_invept()
5355 gva_t gva; in handle_invvpid()
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h360 void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva, hpa_t root_hpa);
1142 void (*tlb_flush_gva)(struct kvm_vcpu *vcpu, gva_t addr);
1529 int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva);
1538 gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva,
1540 gpa_t kvm_mmu_gva_to_gpa_fetch(struct kvm_vcpu *vcpu, gva_t gva,
1542 gpa_t kvm_mmu_gva_to_gpa_write(struct kvm_vcpu *vcpu, gva_t gva,
1544 gpa_t kvm_mmu_gva_to_gpa_system(struct kvm_vcpu *vcpu, gva_t gva,
1557 void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva);
1559 gva_t gva, hpa_t root_hpa);
1560 void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid);
/Linux-v5.10/include/linux/
Dkvm_types.h36 typedef unsigned long gva_t; typedef
/Linux-v5.10/arch/mips/kvm/
Dtrap_emul.c23 static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva) in kvm_trap_emul_gva_to_gpa_cb()
26 gva_t kseg = KSEGX(gva); in kvm_trap_emul_gva_to_gpa_cb()
27 gva_t gkseg = KVM_GUEST_KSEGX(gva); in kvm_trap_emul_gva_to_gpa_cb()
/Linux-v5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h520 struct kvm_vcpu *vcpu, gva_t addr, in FNAME()
901 static void FNAME(invlpg)(struct kvm_vcpu *vcpu, gva_t gva, hpa_t root_hpa) in FNAME()
Dmmu.c2033 gva_t gaddr, in kvm_mmu_get_page()
2941 static bool handle_abnormal_pfn(struct kvm_vcpu *vcpu, gva_t gva, gfn_t gfn, in handle_abnormal_pfn()
3226 static hpa_t mmu_alloc_root(struct kvm_vcpu *vcpu, gfn_t gfn, gva_t gva, in mmu_alloc_root()
3617 static void shadow_page_table_clear_flood(struct kvm_vcpu *vcpu, gva_t addr) in shadow_page_table_clear_flood()
5026 int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva) in kvm_mmu_unprotect_page_virt()
5103 gva_t gva, hpa_t root_hpa) in kvm_mmu_invalidate_gva()
5142 void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva) in kvm_mmu_invlpg()
5150 void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid) in kvm_mmu_invpcid_gva()
/Linux-v5.10/arch/mips/include/asm/
Dkvm_host.h827 gpa_t (*gva_to_gpa)(gva_t gva);

12