Lines Matching refs:vmcs
17 static struct kvm_context __percpu *vmcs; variable
200 context = per_cpu_ptr(vcpu->kvm->arch.vmcs, cpu); in kvm_update_vpid()
229 context = per_cpu_ptr(vcpu->kvm->arch.vmcs, cpu); in kvm_check_vpid()
255 kvm->arch.vmcs = vmcs; in kvm_init_vmcs()
320 vmcs = alloc_percpu(struct kvm_context); in kvm_loongarch_env_init()
321 if (!vmcs) { in kvm_loongarch_env_init()
328 free_percpu(vmcs); in kvm_loongarch_env_init()
329 vmcs = NULL; in kvm_loongarch_env_init()
344 free_percpu(vmcs); in kvm_loongarch_env_init()
345 vmcs = NULL; in kvm_loongarch_env_init()
364 context = per_cpu_ptr(vmcs, cpu); in kvm_loongarch_env_init()
378 if (vmcs) in kvm_loongarch_env_exit()
379 free_percpu(vmcs); in kvm_loongarch_env_exit()