Home
last modified time | relevance | path

Searched refs:kvm_loongarch_ops (Results 1 – 3 of 3) sorted by relevance

/linux/arch/loongarch/kvm/
H A Dmain.c18 struct kvm_world_switch *kvm_loongarch_ops; variable
361 kvm_loongarch_ops = kzalloc_obj(*kvm_loongarch_ops); in kvm_loongarch_env_init()
362 if (!kvm_loongarch_ops) { in kvm_loongarch_env_init()
368 kvm_loongarch_ops->exc_entry = (void *)kvm_exc_entry; in kvm_loongarch_env_init()
369 kvm_loongarch_ops->enter_guest = (void *)kvm_enter_guest; in kvm_loongarch_env_init()
417 kfree(kvm_loongarch_ops); in kvm_loongarch_env_init()
418 kvm_loongarch_ops = NULL; in kvm_loongarch_env_init()
437 if (kvm_loongarch_ops) { in kvm_loongarch_env_exit()
438 kfree(kvm_loongarch_ops); in kvm_loongarch_env_exit()
H A Dvcpu.c1538 vcpu->arch.guest_eentry = (unsigned long)kvm_loongarch_ops->exc_entry; in kvm_arch_vcpu_create()
1892 r = kvm_loongarch_ops->enter_guest(run, vcpu); in kvm_arch_vcpu_ioctl_run()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h359 extern struct kvm_world_switch *kvm_loongarch_ops;