Searched refs:kvm_loongarch_ops (Results 1 – 3 of 3) sorted by relevance
15 struct kvm_world_switch *kvm_loongarch_ops; variable326 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 …]
1464 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()
322 extern struct kvm_world_switch *kvm_loongarch_ops;