Lines Matching refs:tlbsel
127 int tlbsel, int sesel, struct kvm_book3e_206_tlb_entry *stlbe) in write_host_tlbe() argument
131 if (tlbsel == 0) { in write_host_tlbe()
186 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host() argument
190 get_entry(vcpu_e500, tlbsel, esel); in inval_gtlbe_on_host()
191 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host()
197 WARN_ON(tlbsel == 1 && vcpu_e500->g2h_tlb1_map[esel]); in inval_gtlbe_on_host()
200 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host()
222 if (tlbsel == 1 && ref->flags & E500_TLB_TLB0) { in inval_gtlbe_on_host()
285 int tlbsel; in clear_tlb_privs() local
288 for (tlbsel = 0; tlbsel <= 1; tlbsel++) { in clear_tlb_privs()
289 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) { in clear_tlb_privs()
291 &vcpu_e500->gtlb_priv[tlbsel][i].ref; in clear_tlb_privs()
326 int tlbsel, struct kvm_book3e_206_tlb_entry *stlbe, in kvmppc_e500_shadow_map() argument
358 if (tlbsel == 1) { in kvmppc_e500_shadow_map()
594 int tlbsel = tlbsel_of(index); in kvmppc_mmu_map() local
597 gtlbe = get_entry(vcpu_e500, tlbsel, esel); in kvmppc_mmu_map()
599 switch (tlbsel) { in kvmppc_mmu_map()
601 priv = &vcpu_e500->gtlb_priv[tlbsel][esel]; in kvmppc_mmu_map()