Lines Matching refs:arch
81 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_forward()
83 vcpu->arch.sbi_context.return_handled = 0; in kvm_riscv_vcpu_sbi_forward()
106 tmp->arch.power_off = true; in kvm_riscv_vcpu_sbi_system_reset()
118 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_return()
121 if (vcpu->arch.sbi_context.return_handled) in kvm_riscv_vcpu_sbi_return()
123 vcpu->arch.sbi_context.return_handled = 1; in kvm_riscv_vcpu_sbi_return()
130 vcpu->arch.guest_context.sepc += 4; in kvm_riscv_vcpu_sbi_return()
141 struct kvm_vcpu_sbi_context *scontext = &vcpu->arch.sbi_context; in riscv_vcpu_set_sbi_ext_single()
177 struct kvm_vcpu_sbi_context *scontext = &vcpu->arch.sbi_context; in riscv_vcpu_get_sbi_ext_single()
260 if (vcpu->arch.ran_atleast_once) in kvm_riscv_vcpu_set_reg_sbi_ext()
326 struct kvm_vcpu_sbi_context *scontext = &vcpu->arch.sbi_context; in kvm_vcpu_sbi_find_ext()
362 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_ecall()