Lines Matching refs:hpte_cache
35 static struct kmem_cache *hpte_cache; variable
67 void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_map()
108 struct hpte_cache *pte = container_of(head, struct hpte_cache, rcu_head); in free_pte_rcu()
109 kmem_cache_free(hpte_cache, pte); in free_pte_rcu()
112 static void invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in invalidate_pte()
146 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_all()
165 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_page()
184 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_long()
227 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_short()
248 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_64k()
270 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_long()
312 struct hpte_cache *pte; in kvmppc_mmu_pte_pflush()
331 struct hpte_cache *kvmppc_mmu_hpte_cache_next(struct kvm_vcpu *vcpu) in kvmppc_mmu_hpte_cache_next()
334 struct hpte_cache *pte; in kvmppc_mmu_hpte_cache_next()
339 pte = kmem_cache_zalloc(hpte_cache, GFP_KERNEL); in kvmppc_mmu_hpte_cache_next()
344 void kvmppc_mmu_hpte_cache_free(struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_free()
346 kmem_cache_free(hpte_cache, pte); in kvmppc_mmu_hpte_cache_free()
388 hpte_cache = kmem_cache_create("kvm-spt", sizeof(struct hpte_cache), in kvmppc_mmu_hpte_sysinit()
389 sizeof(struct hpte_cache), 0, NULL); in kvmppc_mmu_hpte_sysinit()
396 kmem_cache_destroy(hpte_cache); in kvmppc_mmu_hpte_sysexit()