Lines Matching refs:gtlb_index
211 gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int gtlb_index,
215 struct kvmppc_44x_tlbe *gtlbe = &vcpu_44x->guest_tlb[gtlb_index];
290 unsigned int gtlb_index)
294 struct kvmppc_44x_tlbe *gtlbe = &vcpu_44x->guest_tlb[gtlb_index];
357 ref->gtlb_index = gtlb_index;
371 unsigned int gtlb_index)
378 if (ref->gtlb_index == gtlb_index)
434 unsigned int gtlb_index;
436 gtlb_index = kvmppc_get_gpr(vcpu, ra);
437 if (gtlb_index >= KVM44x_GUEST_TLB_SIZE) {
438 printk("%s: index %d\n", __func__, gtlb_index);
443 tlbe = &vcpu_44x->guest_tlb[gtlb_index];
447 kvmppc_44x_invalidate(vcpu, gtlb_index);
480 kvmppc_mmu_map(vcpu, eaddr, gpaddr, gtlb_index);
483 trace_kvm_gtlb_write(gtlb_index, tlbe->tid, tlbe->word0, tlbe->word1,
493 int gtlb_index;
501 gtlb_index = kvmppc_44x_tlb_index(vcpu, ea, pid, as);
505 if (gtlb_index < 0)
510 kvmppc_set_gpr(vcpu, rt, gtlb_index);