Home
last modified time | relevance | path

Searched refs:guest_ctxt (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/arm/kvm/hyp/
Dswitch.c160 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe() local
169 guest_ctxt = &vcpu->arch.ctxt; in __kvm_vcpu_run_nvhe()
180 __sysreg_restore_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
181 __banked_restore_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
193 __banked_save_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
194 __sysreg_save_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
206 __vfp_save_state(&guest_ctxt->vfp); in __kvm_vcpu_run_nvhe()
/Linux-v4.19/arch/arm64/kvm/hyp/
Ddebug-sr.c155 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_guest() local
170 guest_ctxt = &vcpu->arch.ctxt; in __debug_switch_to_guest()
175 __debug_restore_state(vcpu, guest_dbg, guest_ctxt); in __debug_switch_to_guest()
181 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_host() local
192 guest_ctxt = &vcpu->arch.ctxt; in __debug_switch_to_host()
196 __debug_save_state(vcpu, guest_dbg, guest_ctxt); in __debug_switch_to_host()
Dswitch.c493 struct kvm_cpu_context *guest_ctxt; in kvm_vcpu_run_vhe() local
498 guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_run_vhe()
505 sysreg_restore_guest_state_vhe(guest_ctxt); in kvm_vcpu_run_vhe()
519 sysreg_save_guest_state_vhe(guest_ctxt); in kvm_vcpu_run_vhe()
537 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe() local
544 guest_ctxt = &vcpu->arch.ctxt; in __kvm_vcpu_run_nvhe()
559 __sysreg_restore_state_nvhe(guest_ctxt); in __kvm_vcpu_run_nvhe()
573 __sysreg_save_state_nvhe(guest_ctxt); in __kvm_vcpu_run_nvhe()
Dsysreg-sr.c239 struct kvm_cpu_context *guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_load_sysregs() local
253 __sysreg_restore_user_state(guest_ctxt); in kvm_vcpu_load_sysregs()
254 __sysreg_restore_el1_state(guest_ctxt); in kvm_vcpu_load_sysregs()
275 struct kvm_cpu_context *guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_put_sysregs() local
282 __sysreg_save_el1_state(guest_ctxt); in kvm_vcpu_put_sysregs()
283 __sysreg_save_user_state(guest_ctxt); in kvm_vcpu_put_sysregs()