Lines Matching refs:tlbsel
125 int tlbsel, int sesel, struct kvm_book3e_206_tlb_entry *stlbe) in write_host_tlbe() argument
129 if (tlbsel == 0) { in write_host_tlbe()
184 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host() argument
188 get_entry(vcpu_e500, tlbsel, esel); in inval_gtlbe_on_host()
189 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host()
195 WARN_ON(tlbsel == 1 && vcpu_e500->g2h_tlb1_map[esel]); in inval_gtlbe_on_host()
198 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host()
220 if (tlbsel == 1 && ref->flags & E500_TLB_TLB0) { in inval_gtlbe_on_host()
283 int tlbsel; in clear_tlb_privs() local
286 for (tlbsel = 0; tlbsel <= 1; tlbsel++) { in clear_tlb_privs()
287 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) { in clear_tlb_privs()
289 &vcpu_e500->gtlb_priv[tlbsel][i].ref; in clear_tlb_privs()
324 int tlbsel, struct kvm_book3e_206_tlb_entry *stlbe, in kvmppc_e500_shadow_map() argument
356 if (tlbsel == 1) { in kvmppc_e500_shadow_map()
592 int tlbsel = tlbsel_of(index); in kvmppc_mmu_map() local
595 gtlbe = get_entry(vcpu_e500, tlbsel, esel); in kvmppc_mmu_map()
597 switch (tlbsel) { in kvmppc_mmu_map()
599 priv = &vcpu_e500->gtlb_priv[tlbsel][esel]; in kvmppc_mmu_map()