Searched refs:pteg (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/arch/powerpc/kvm/ |
D | book3s_32_mmu_host.c | 62 volatile u32 *pteg; in kvmppc_mmu_invalidate_pte() local 65 pteg = (u32*)pte->slot; in kvmppc_mmu_invalidate_pte() 66 pteg[0] = 0; in kvmppc_mmu_invalidate_pte() 121 ulong pteg = htab; in kvmppc_mmu_get_pteg() local 131 pteg |= hash; in kvmppc_mmu_get_pteg() 134 htab, hash, htabmask, pteg); in kvmppc_mmu_get_pteg() 136 return (u32*)pteg; in kvmppc_mmu_get_pteg() 147 volatile u32 *pteg; in kvmppc_mmu_map_page() local 183 pteg = kvmppc_mmu_get_pteg(vcpu, vsid, eaddr, primary); in kvmppc_mmu_map_page() 186 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page() [all …]
|
D | book3s_32_mmu.c | 118 u32 page, hash, pteg, htabmask; in kvmppc_mmu_book3s_32_get_pteg() local 129 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg() 132 kvmppc_get_pc(&vcpu_book3s->vcpu), eaddr, vcpu_book3s->sdr1, pteg, in kvmppc_mmu_book3s_32_get_pteg() 135 r = gfn_to_hva(vcpu_book3s->vcpu.kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_32_get_pteg() 138 return r | (pteg & ~PAGE_MASK); in kvmppc_mmu_book3s_32_get_pteg() 209 u32 pteg[16]; in kvmppc_mmu_book3s_32_xlate_pte() local 229 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) { in kvmppc_mmu_book3s_32_xlate_pte() 235 if (ptem == pteg[i]) { in kvmppc_mmu_book3s_32_xlate_pte() 238 pte->raddr = (pteg[i+1] & ~(0xFFFULL)) | (eaddr & 0xFFF); in kvmppc_mmu_book3s_32_xlate_pte() 239 pp = pteg[i+1] & 3; in kvmppc_mmu_book3s_32_xlate_pte() [all …]
|
D | book3s_64_mmu.c | 111 u64 hash, pteg, htabsize; in kvmppc_mmu_book3s_64_get_pteg() local 125 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg() 126 pteg |= hash; in kvmppc_mmu_book3s_64_get_pteg() 129 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg() 131 r = gfn_to_hva(vcpu_book3s->vcpu.kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_64_get_pteg() 134 return r | (pteg & ~PAGE_MASK); in kvmppc_mmu_book3s_64_get_pteg() 159 u64 pteg[16]; in kvmppc_mmu_book3s_64_xlate() local 194 if(copy_from_user(pteg, (void __user *)ptegp, sizeof(pteg))) { in kvmppc_mmu_book3s_64_xlate() 205 u64 v = pteg[i]; in kvmppc_mmu_book3s_64_xlate() 206 u64 r = pteg[i+1]; in kvmppc_mmu_book3s_64_xlate() [all …]
|
/linux-2.6.39/arch/powerpc/mm/ |
D | hash_native_64.c | 389 unsigned long vpi, vsid, pteg; in hpte_decode() local 391 pteg = slot / HPTES_PER_GROUP; in hpte_decode() 393 pteg = ~pteg; in hpte_decode() 396 vpi = ((avpn >> 28) ^ pteg) & htab_hash_mask; in hpte_decode() 400 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; in hpte_decode()
|