Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/kvm/
Dmain.c15 struct kvm_world_switch *kvm_loongarch_ops; variable
326 kvm_loongarch_ops = kzalloc(sizeof(*kvm_loongarch_ops), GFP_KERNEL); in kvm_loongarch_env_init()
327 if (!kvm_loongarch_ops) { in kvm_loongarch_env_init()
346 kfree(kvm_loongarch_ops); in kvm_loongarch_env_init()
347 kvm_loongarch_ops = NULL; in kvm_loongarch_env_init()
354 kvm_loongarch_ops->exc_entry = addr; in kvm_loongarch_env_init()
355 kvm_loongarch_ops->enter_guest = addr + kvm_exception_size; in kvm_loongarch_env_init()
356 kvm_loongarch_ops->page_order = order; in kvm_loongarch_env_init()
381 if (kvm_loongarch_ops) { in kvm_loongarch_env_exit()
382 if (kvm_loongarch_ops->exc_entry) { in kvm_loongarch_env_exit()
[all …]
Dvcpu.c1464 vcpu->arch.guest_eentry = (unsigned long)kvm_loongarch_ops->exc_entry; in kvm_arch_vcpu_create()
1750 r = kvm_loongarch_ops->enter_guest(run, vcpu); in kvm_arch_vcpu_ioctl_run()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_host.h322 extern struct kvm_world_switch *kvm_loongarch_ops;