Lines Matching refs:pteg
121 u64 hash, pteg, htabsize; in kvmppc_mmu_book3s_64_get_pteg() local
137 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg()
138 pteg |= hash; in kvmppc_mmu_book3s_64_get_pteg()
141 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg()
146 r = pteg; in kvmppc_mmu_book3s_64_get_pteg()
148 r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_64_get_pteg()
152 return r | (pteg & ~PAGE_MASK); in kvmppc_mmu_book3s_64_get_pteg()
197 u64 pteg[16]; in kvmppc_mmu_book3s_64_xlate() local
251 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) { in kvmppc_mmu_book3s_64_xlate()
263 u64 pte0 = be64_to_cpu(pteg[i]); in kvmppc_mmu_book3s_64_xlate()
264 u64 pte1 = be64_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_64_xlate()
288 v = be64_to_cpu(pteg[i]); in kvmppc_mmu_book3s_64_xlate()
289 r = be64_to_cpu(pteg[i+1]); in kvmppc_mmu_book3s_64_xlate()