Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/kvm/hyp/
Dswitch.c149 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe() local
158 guest_ctxt = &vcpu->arch.ctxt; in __kvm_vcpu_run_nvhe()
169 __sysreg_restore_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
170 __banked_restore_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
182 __banked_save_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
183 __sysreg_save_state(guest_ctxt); in __kvm_vcpu_run_nvhe()
195 __vfp_save_state(&guest_ctxt->vfp); in __kvm_vcpu_run_nvhe()
/Linux-v5.4/arch/arm64/kvm/hyp/
Ddebug-sr.c174 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_guest() local
189 guest_ctxt = &vcpu->arch.ctxt; in __debug_switch_to_guest()
194 __debug_restore_state(vcpu, guest_dbg, guest_ctxt); in __debug_switch_to_guest()
200 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_host() local
211 guest_ctxt = &vcpu->arch.ctxt; in __debug_switch_to_host()
215 __debug_save_state(vcpu, guest_dbg, guest_ctxt); in __debug_switch_to_host()
Dsysreg-sr.c249 struct kvm_cpu_context *guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_load_sysregs() local
263 __sysreg_restore_user_state(guest_ctxt); in kvm_vcpu_load_sysregs()
264 __sysreg_restore_el1_state(guest_ctxt); in kvm_vcpu_load_sysregs()
285 struct kvm_cpu_context *guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_put_sysregs() local
292 __sysreg_save_el1_state(guest_ctxt); in kvm_vcpu_put_sysregs()
293 __sysreg_save_user_state(guest_ctxt); in kvm_vcpu_put_sysregs()
Dswitch.c592 struct kvm_cpu_context *guest_ctxt; in kvm_vcpu_run_vhe() local
597 guest_ctxt = &vcpu->arch.ctxt; in kvm_vcpu_run_vhe()
615 sysreg_restore_guest_state_vhe(guest_ctxt); in kvm_vcpu_run_vhe()
629 sysreg_save_guest_state_vhe(guest_ctxt); in kvm_vcpu_run_vhe()
648 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe() local
667 guest_ctxt = &vcpu->arch.ctxt; in __kvm_vcpu_run_nvhe()
684 __sysreg_restore_state_nvhe(guest_ctxt); in __kvm_vcpu_run_nvhe()
698 __sysreg_save_state_nvhe(guest_ctxt); in __kvm_vcpu_run_nvhe()