Lines Matching refs:pteg
111 u64 hash, pteg, htabsize;
125 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL;
126 pteg |= hash;
128 dprintk("MMU: page=0x%x sdr1=0x%llx pteg=0x%llx vsid=0x%llx\n",
129 page, vcpu_book3s->sdr1, pteg, slbe->vsid);
131 r = gfn_to_hva(vcpu_book3s->vcpu.kvm, pteg >> PAGE_SHIFT);
134 return r | (pteg & ~PAGE_MASK);
159 u64 pteg[16];
178 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) {
189 u64 v = pteg[i];
190 u64 r = pteg[i+1];
245 u32 oldr = pteg[i+1];
249 pteg[i+1] |= HPTE_R_R;
253 pteg[i+1] |= HPTE_R_C;
259 if (pteg[i+1] != oldr)
260 copy_to_user((void __user *)ptegp, pteg, sizeof(pteg));
269 i, pteg[i], pteg[i+1], avpn);