Lines Matching refs:gtlbe

142 			struct kvm_book3e_206_tlb_entry *gtlbe,  in write_stlbe()  argument
149 stid = kvmppc_e500_get_tlb_stid(&vcpu_e500->vcpu, gtlbe); in write_stlbe()
187 struct kvm_book3e_206_tlb_entry *gtlbe = in inval_gtlbe_on_host() local
234 kvmppc_e500_tlbil_one(vcpu_e500, gtlbe); in inval_gtlbe_on_host()
246 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_ref_setup() argument
253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
258 if (tlbe_is_writable(gtlbe)) in kvmppc_e500_ref_setup()
306 struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_setup_stlbe() argument
316 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
319 e500_shadow_mas3_attrib(gtlbe->mas7_3, pr); in kvmppc_e500_setup_stlbe()
323 u64 gvaddr, gfn_t gfn, struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_shadow_map() argument
389 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
428 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
493 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg); in kvmppc_e500_shadow_map()
495 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
514 struct kvm_book3e_206_tlb_entry *gtlbe; in kvmppc_e500_tlb0_map() local
520 gtlbe = get_entry(vcpu_e500, 0, esel); in kvmppc_e500_tlb0_map()
523 r = kvmppc_e500_shadow_map(vcpu_e500, get_tlb_eaddr(gtlbe), in kvmppc_e500_tlb0_map()
524 get_tlb_raddr(gtlbe) >> PAGE_SHIFT, in kvmppc_e500_tlb0_map()
525 gtlbe, 0, stlbe, ref); in kvmppc_e500_tlb0_map()
529 write_stlbe(vcpu_e500, gtlbe, stlbe, stlbsel, sesel); in kvmppc_e500_tlb0_map()
560 u64 gvaddr, gfn_t gfn, struct kvm_book3e_206_tlb_entry *gtlbe, in kvmppc_e500_tlb1_map() argument
567 r = kvmppc_e500_shadow_map(vcpu_e500, gvaddr, gfn, gtlbe, 1, stlbe, in kvmppc_e500_tlb1_map()
575 write_stlbe(vcpu_e500, gtlbe, stlbe, 0, 0); in kvmppc_e500_tlb1_map()
581 write_stlbe(vcpu_e500, gtlbe, stlbe, 1, sesel); in kvmppc_e500_tlb1_map()
591 struct kvm_book3e_206_tlb_entry *gtlbe, stlbe; in kvmppc_mmu_map() local
595 gtlbe = get_entry(vcpu_e500, tlbsel, esel); in kvmppc_mmu_map()
605 kvmppc_e500_setup_stlbe(vcpu, gtlbe, BOOK3E_PAGESZ_4K, in kvmppc_mmu_map()
607 write_stlbe(vcpu_e500, gtlbe, &stlbe, 0, 0); in kvmppc_mmu_map()
613 kvmppc_e500_tlb1_map(vcpu_e500, eaddr, gfn, gtlbe, &stlbe, in kvmppc_mmu_map()