Lines Matching refs:hpte_cache
36 static struct kmem_cache *hpte_cache; variable
68 void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_map()
109 struct hpte_cache *pte = container_of(head, struct hpte_cache, rcu_head); in free_pte_rcu()
110 kmem_cache_free(hpte_cache, pte); in free_pte_rcu()
113 static void invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in invalidate_pte()
147 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_all()
166 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_page()
185 struct hpte_cache *pte; in kvmppc_mmu_pte_flush_long()
228 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_short()
249 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_64k()
271 struct hpte_cache *pte; in kvmppc_mmu_pte_vflush_long()
313 struct hpte_cache *pte; in kvmppc_mmu_pte_pflush()
332 struct hpte_cache *kvmppc_mmu_hpte_cache_next(struct kvm_vcpu *vcpu) in kvmppc_mmu_hpte_cache_next()
335 struct hpte_cache *pte; in kvmppc_mmu_hpte_cache_next()
340 pte = kmem_cache_zalloc(hpte_cache, GFP_KERNEL); in kvmppc_mmu_hpte_cache_next()
345 void kvmppc_mmu_hpte_cache_free(struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_free()
347 kmem_cache_free(hpte_cache, pte); in kvmppc_mmu_hpte_cache_free()
389 hpte_cache = kmem_cache_create("kvm-spt", sizeof(struct hpte_cache), in kvmppc_mmu_hpte_sysinit()
390 sizeof(struct hpte_cache), 0, NULL); in kvmppc_mmu_hpte_sysinit()
397 kmem_cache_destroy(hpte_cache); in kvmppc_mmu_hpte_sysexit()