Lines Matching refs:tlbsel
128 int tlbsel, int sesel, struct kvm_book3e_206_tlb_entry *stlbe) in write_host_tlbe() argument
132 if (tlbsel == 0) { in write_host_tlbe()
187 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host() argument
191 get_entry(vcpu_e500, tlbsel, esel); in inval_gtlbe_on_host()
192 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host()
198 WARN_ON(tlbsel == 1 && vcpu_e500->g2h_tlb1_map[esel]); in inval_gtlbe_on_host()
201 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host()
223 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()
325 int tlbsel, struct kvm_book3e_206_tlb_entry *stlbe, in kvmppc_e500_shadow_map() argument
398 if (psize && tlbsel == 1) { in kvmppc_e500_shadow_map()
554 int tlbsel = tlbsel_of(index); in kvmppc_mmu_map() local
557 gtlbe = get_entry(vcpu_e500, tlbsel, esel); in kvmppc_mmu_map()
559 switch (tlbsel) { in kvmppc_mmu_map()
561 priv = &vcpu_e500->gtlb_priv[tlbsel][esel]; in kvmppc_mmu_map()