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.c17 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()
381 kfree(kvm_loongarch_ops); in kvm_loongarch_env_init()
382 kvm_loongarch_ops = NULL; in kvm_loongarch_env_init()
389 kvm_loongarch_ops->exc_entry = addr; in kvm_loongarch_env_init()
390 kvm_loongarch_ops->enter_guest = addr + kvm_exception_size; in kvm_loongarch_env_init()
391 kvm_loongarch_ops->page_order = order; in kvm_loongarch_env_init()
430 if (kvm_loongarch_ops) { in kvm_loongarch_env_exit()
431 if (kvm_loongarch_ops->exc_entry) { in kvm_loongarch_env_exit()
[all …]
H A Dvcpu.c1552 vcpu->arch.guest_eentry = (unsigned long)kvm_loongarch_ops->exc_entry; in kvm_arch_vcpu_create()
1902 r = kvm_loongarch_ops->enter_guest(run, vcpu); in kvm_arch_vcpu_ioctl_run()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h361 extern struct kvm_world_switch *kvm_loongarch_ops;