Searched defs:hptep (Results 1 - 3 of 3) sorted by relevance

/arch/powerpc/mm/
H A Dhash_native_64.c175 static inline void native_lock_hpte(struct hash_pte *hptep) argument
177 unsigned long *word = (unsigned long *)&hptep->v;
187 static inline void native_unlock_hpte(struct hash_pte *hptep) argument
189 unsigned long *word = (unsigned long *)&hptep->v;
198 struct hash_pte *hptep = htab_address + hpte_group; local
209 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) {
211 native_lock_hpte(hptep);
212 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID))
214 native_unlock_hpte(hptep);
217 hptep
247 struct hash_pte *hptep; local
288 struct hash_pte *hptep = htab_address + slot; local
326 struct hash_pte *hptep; local
363 struct hash_pte *hptep; local
387 struct hash_pte *hptep = htab_address + slot; local
425 struct hash_pte *hptep; local
579 struct hash_pte *hptep = htab_address; local
627 struct hash_pte *hptep; local
[all...]
/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c742 void kvmppc_invalidate_hpte(struct kvm *kvm, __be64 *hptep, argument
747 hptep[0] &= ~cpu_to_be64(HPTE_V_VALID);
748 rb = compute_tlbie_rb(be64_to_cpu(hptep[0]), be64_to_cpu(hptep[1]),
754 void kvmppc_clear_ref_hpte(struct kvm *kvm, __be64 *hptep, argument
760 rb = compute_tlbie_rb(be64_to_cpu(hptep[0]), be64_to_cpu(hptep[1]),
762 rbyte = (be64_to_cpu(hptep[1]) & ~HPTE_R_R) >> 8;
764 *((char *)hptep + 14) = rbyte;
H A Dbook3s_64_mmu_hv.c451 __be64 *hptep; local
474 hptep = (__be64 *)(kvm->arch.hpt_virt + (index << 4));
475 v = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK;
480 hptep[0] = cpu_to_be64(v);
578 __be64 *hptep; local
601 hptep = (__be64 *)(kvm->arch.hpt_virt + (index << 4));
604 while (!try_lock_hpte(hptep, HPTE_V_HVLOCK))
606 hpte[0] = be64_to_cpu(hptep[0]) & ~HPTE_V_HVLOCK;
607 hpte[1] = be64_to_cpu(hptep[1]);
610 hptep[
856 __be64 *hptep; local
957 __be64 *hptep; local
1072 __be64 *hptep; local
[all...]

Completed in 329 milliseconds