Lines Matching refs:hpte_cache
24 static struct kmem_cache *hpte_cache; variable
56 void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_map()
97 struct hpte_cache *pte = container_of(head, struct hpte_cache, rcu_head); in free_pte_rcu()
98 kmem_cache_free(hpte_cache, pte); in free_pte_rcu()
101 static void invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in invalidate_pte()
135 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_all()
154 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_page()
173 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_long()
216 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_short()
237 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_64k()
259 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_long()
301 struct hpte_cache *pte; in kvmppc_mmu_pte_pflush()
320 struct hpte_cache *kvmppc_mmu_hpte_cache_next(struct kvm_vcpu *vcpu) in kvmppc_mmu_hpte_cache_next()
323 struct hpte_cache *pte; in kvmppc_mmu_hpte_cache_next()
328 pte = kmem_cache_zalloc(hpte_cache, GFP_KERNEL); in kvmppc_mmu_hpte_cache_next()
333 void kvmppc_mmu_hpte_cache_free(struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_free()
335 kmem_cache_free(hpte_cache, pte); in kvmppc_mmu_hpte_cache_free()
377 hpte_cache = kmem_cache_create("kvm-spt", sizeof(struct hpte_cache), in kvmppc_mmu_hpte_sysinit()
378 sizeof(struct hpte_cache), 0, NULL); in kvmppc_mmu_hpte_sysinit()
385 kmem_cache_destroy(hpte_cache); in kvmppc_mmu_hpte_sysexit()