Searched refs:x86_emulator_cache (Results 1 – 1 of 1) sorted by relevance
311 static struct kmem_cache *x86_emulator_cache; variable5921 ctxt = kmem_cache_zalloc(x86_emulator_cache, GFP_KERNEL_ACCOUNT); in alloc_emulate_ctxt()7053 x86_emulator_cache = kvm_alloc_emulator_cache(); in kvm_x86_vendor_init()7054 if (!x86_emulator_cache) { in kvm_x86_vendor_init()7153 kmem_cache_destroy(x86_emulator_cache); in kvm_x86_vendor_init()7181 kmem_cache_destroy(x86_emulator_cache); in kvm_x86_vendor_exit()9427 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_create()9469 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_destroy()