Lines Matching refs:pte_index
23 static unsigned long get_pteg_addr(struct kvm_vcpu *vcpu, long pte_index) in get_pteg_addr() argument
28 pte_index <<= 4; in get_pteg_addr()
29 pte_index &= ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1) << 7 | 0x70; in get_pteg_addr()
31 pteg_addr |= pte_index; in get_pteg_addr()
39 long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_enter() local
45 i = pte_index & 7; in kvmppc_h_pr_enter()
46 pte_index &= ~7UL; in kvmppc_h_pr_enter()
47 pteg_addr = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_enter()
76 kvmppc_set_gpr(vcpu, 4, pte_index | i); in kvmppc_h_pr_enter()
89 unsigned long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_remove() local
95 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_remove()
113 rb = compute_tlbie_rb(pte[0], pte[1], pte_index); in kvmppc_h_pr_remove()
217 unsigned long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_protect() local
223 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_protect()
246 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_pr_protect()