Searched refs:kvm_loongarch_ops (Results 1 – 2 of 2) sorted by relevance
17 struct kvm_world_switch *kvm_loongarch_ops; variable 353 kvm_loongarch_ops = kzalloc(sizeof(*kvm_loongarch_ops), GFP_KERNEL); in kvm_loongarch_env_init() 354 if (!kvm_loongarch_ops) { in kvm_loongarch_env_init() 373 kfree(kvm_loongarch_ops); in kvm_loongarch_env_init() 374 kvm_loongarch_ops = NULL; in kvm_loongarch_env_init() 381 kvm_loongarch_ops->exc_entry = addr; in kvm_loongarch_env_init() 382 kvm_loongarch_ops->enter_guest = addr + kvm_exception_size; in kvm_loongarch_env_init() 383 kvm_loongarch_ops->page_order = order; in kvm_loongarch_env_init() 422 if (kvm_loongarch_ops) { in kvm_loongarch_env_exit() [all...]
1517 vcpu->arch.guest_eentry = (unsigned long)kvm_loongarch_ops->exc_entry; in kvm_arch_vcpu_create() 1808 r = kvm_loongarch_ops->enter_guest(run, vcpu); in kvm_arch_vcpu_ioctl_run()