Lines Matching refs:gtlbe
145 struct kvm_book3e_206_tlb_entry *gtlbe, in write_stlbe() argument
152 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
190 struct kvm_book3e_206_tlb_entry *gtlbe = in inval_gtlbe_on_host() local
237 kvmppc_e500_tlbil_one(vcpu_e500, gtlbe); in inval_gtlbe_on_host()
249 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_ref_setup() argument
256 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
261 if (tlbe_is_writable(gtlbe)) in kvmppc_e500_ref_setup()
309 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_setup_stlbe() argument
319 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
322 e500_shadow_mas3_attrib(gtlbe->mas7_3, pr); in kvmppc_e500_setup_stlbe()
326 u64 gvaddr, gfn_t gfn, struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_shadow_map() argument
392 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
431 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
496 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg); in kvmppc_e500_shadow_map()
498 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
517 struct kvm_book3e_206_tlb_entry *gtlbe; in kvmppc_e500_tlb0_map() local
523 gtlbe = get_entry(vcpu_e500, 0, esel); in kvmppc_e500_tlb0_map()
526 r = kvmppc_e500_shadow_map(vcpu_e500, get_tlb_eaddr(gtlbe), in kvmppc_e500_tlb0_map()
527 get_tlb_raddr(gtlbe) >> PAGE_SHIFT, in kvmppc_e500_tlb0_map()
528 gtlbe, 0, stlbe, ref); in kvmppc_e500_tlb0_map()
532 write_stlbe(vcpu_e500, gtlbe, stlbe, stlbsel, sesel); in kvmppc_e500_tlb0_map()
563 u64 gvaddr, gfn_t gfn, struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_tlb1_map() argument
570 r = kvmppc_e500_shadow_map(vcpu_e500, gvaddr, gfn, gtlbe, 1, stlbe, in kvmppc_e500_tlb1_map()
578 write_stlbe(vcpu_e500, gtlbe, stlbe, 0, 0); in kvmppc_e500_tlb1_map()
584 write_stlbe(vcpu_e500, gtlbe, stlbe, 1, sesel); in kvmppc_e500_tlb1_map()
594 struct kvm_book3e_206_tlb_entry *gtlbe, stlbe; in kvmppc_mmu_map() local
598 gtlbe = get_entry(vcpu_e500, tlbsel, esel); in kvmppc_mmu_map()
608 kvmppc_e500_setup_stlbe(vcpu, gtlbe, BOOK3E_PAGESZ_4K, in kvmppc_mmu_map()
610 write_stlbe(vcpu_e500, gtlbe, &stlbe, 0, 0); in kvmppc_mmu_map()
616 kvmppc_e500_tlb1_map(vcpu_e500, eaddr, gfn, gtlbe, &stlbe, in kvmppc_mmu_map()