Home
last modified time | relevance | path

Searched refs:x86_emulator_cache (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.c256 static struct kmem_cache *x86_emulator_cache; variable
7183 ctxt = kmem_cache_zalloc(x86_emulator_cache, GFP_KERNEL_ACCOUNT); in alloc_emulate_ctxt()
8182 x86_emulator_cache = kvm_alloc_emulator_cache(); in kvm_arch_init()
8183 if (!x86_emulator_cache) { in kvm_arch_init()
8227 kmem_cache_destroy(x86_emulator_cache); in kvm_arch_init()
8256 kmem_cache_destroy(x86_emulator_cache); in kvm_arch_exit()
10287 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_create()
10331 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_destroy()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dx86.c319 static struct kmem_cache *x86_emulator_cache; variable
8410 ctxt = kmem_cache_zalloc(x86_emulator_cache, GFP_KERNEL_ACCOUNT); in alloc_emulate_ctxt()
9493 x86_emulator_cache = kvm_alloc_emulator_cache(); in __kvm_x86_vendor_init()
9494 if (!x86_emulator_cache) { in __kvm_x86_vendor_init()
9586 kmem_cache_destroy(x86_emulator_cache); in __kvm_x86_vendor_init()
9625 kmem_cache_destroy(x86_emulator_cache); in kvm_x86_vendor_exit()
11958 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_create()
12000 kmem_cache_free(x86_emulator_cache, vcpu->arch.emulate_ctxt); in kvm_arch_vcpu_destroy()

Completed in 31 milliseconds