Searched refs:kvm_vcpu_cache (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/arch/powerpc/kvm/ |
D | e500mc.c | 311 vcpu_e500 = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create_e500mc() 343 kmem_cache_free(kvm_vcpu_cache, vcpu_e500); in kvmppc_core_vcpu_create_e500mc() 355 kmem_cache_free(kvm_vcpu_cache, vcpu_e500); in kvmppc_core_vcpu_free_e500mc()
|
D | e500.c | 446 vcpu_e500 = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create_e500() 481 kmem_cache_free(kvm_vcpu_cache, vcpu_e500); in kvmppc_core_vcpu_create_e500() 494 kmem_cache_free(kvm_vcpu_cache, vcpu_e500); in kvmppc_core_vcpu_free_e500()
|
D | book3s_pr.c | 1719 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create_pr() 1785 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvmppc_core_vcpu_create_pr() 1800 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvmppc_core_vcpu_free_pr()
|
D | book3s_hv.c | 2269 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvmppc_core_vcpu_create_hv() 2375 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvmppc_core_vcpu_create_hv() 2432 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvmppc_core_vcpu_free_hv()
|
/Linux-v5.4/virt/kvm/arm/ |
D | arm.c | 271 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvm_arch_vcpu_create() 289 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvm_arch_vcpu_create() 307 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvm_arch_vcpu_free()
|
/Linux-v5.4/virt/kvm/ |
D | kvm_main.c | 107 struct kmem_cache *kvm_vcpu_cache; variable 108 EXPORT_SYMBOL_GPL(kvm_vcpu_cache); 4361 kvm_vcpu_cache = in kvm_init() 4367 if (!kvm_vcpu_cache) { in kvm_init() 4401 kmem_cache_destroy(kvm_vcpu_cache); in kvm_init() 4423 kmem_cache_destroy(kvm_vcpu_cache); in kvm_exit()
|
/Linux-v5.4/include/linux/ |
D | kvm_host.h | 160 extern struct kmem_cache *kvm_vcpu_cache;
|
/Linux-v5.4/arch/s390/kvm/ |
D | kvm-s390.c | 2538 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvm_arch_vcpu_destroy() 3053 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL); in kvm_arch_vcpu_create() 3087 kmem_cache_free(kvm_vcpu_cache, vcpu); in kvm_arch_vcpu_create()
|
/Linux-v5.4/arch/x86/kvm/ |
D | svm.c | 2147 svm = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL_ACCOUNT); in svm_create_vcpu() 2232 kmem_cache_free(kvm_vcpu_cache, svm); in svm_create_vcpu() 2263 kmem_cache_free(kvm_vcpu_cache, svm); in svm_free_vcpu()
|
/Linux-v5.4/arch/x86/kvm/vmx/ |
D | vmx.c | 6695 kmem_cache_free(kvm_vcpu_cache, vmx); in vmx_free_vcpu() 6708 vmx = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL_ACCOUNT); in vmx_create_vcpu() 6831 kmem_cache_free(kvm_vcpu_cache, vmx); in vmx_create_vcpu()
|