Lines Matching refs:eaddr
81 gva_t eaddr, int tlbsel, unsigned int pid, int as) in kvmppc_e500_tlb_index() argument
88 set_base = gtlb0_set_base(vcpu_e500, eaddr); in kvmppc_e500_tlb_index()
91 if (eaddr < vcpu_e500->tlb1_min_eaddr || in kvmppc_e500_tlb_index()
92 eaddr > vcpu_e500->tlb1_max_eaddr) in kvmppc_e500_tlb_index()
104 if (eaddr < get_tlb_eaddr(tlbe)) in kvmppc_e500_tlb_index()
107 if (eaddr > get_tlb_end(tlbe)) in kvmppc_e500_tlb_index()
127 gva_t eaddr, int as) in kvmppc_e500_deliver_tlb_miss() argument
143 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
155 gva_t eaddr; in kvmppc_recalc_tlb1map_range() local
169 eaddr = get_tlb_eaddr(tlbe); in kvmppc_recalc_tlb1map_range()
171 min(vcpu_e500->tlb1_min_eaddr, eaddr); in kvmppc_recalc_tlb1map_range()
173 eaddr = get_tlb_end(tlbe); in kvmppc_recalc_tlb1map_range()
175 max(vcpu_e500->tlb1_max_eaddr, eaddr); in kvmppc_recalc_tlb1map_range()
435 u64 eaddr = get_tlb_eaddr(gtlbe); in kvmppc_e500_emul_tlbwe() local
444 kvmppc_mmu_map(vcpu, eaddr, raddr, index_of(tlbsel, esel)); in kvmppc_e500_emul_tlbwe()
454 gva_t eaddr, unsigned int pid, int as) in kvmppc_e500_tlb_search() argument
460 esel = kvmppc_e500_tlb_index(vcpu_e500, eaddr, tlbsel, pid, as); in kvmppc_e500_tlb_search()
473 gva_t eaddr; in kvmppc_core_vcpu_translate() local
477 eaddr = tr->linear_address; in kvmppc_core_vcpu_translate()
481 index = kvmppc_e500_tlb_search(vcpu, eaddr, pid, as); in kvmppc_core_vcpu_translate()
487 tr->physical_address = kvmppc_mmu_xlate(vcpu, index, eaddr); in kvmppc_core_vcpu_translate()
495 int kvmppc_mmu_itlb_index(struct kvm_vcpu *vcpu, gva_t eaddr) in kvmppc_mmu_itlb_index() argument
499 return kvmppc_e500_tlb_search(vcpu, eaddr, get_cur_pid(vcpu), as); in kvmppc_mmu_itlb_index()
502 int kvmppc_mmu_dtlb_index(struct kvm_vcpu *vcpu, gva_t eaddr) in kvmppc_mmu_dtlb_index() argument
506 return kvmppc_e500_tlb_search(vcpu, eaddr, get_cur_pid(vcpu), as); in kvmppc_mmu_dtlb_index()
524 gva_t eaddr) in kvmppc_mmu_xlate() argument
533 return get_tlb_raddr(gtlbe) | (eaddr & pgmask); in kvmppc_mmu_xlate()