Home
last modified time | relevance | path

Searched refs:kvm_cpu_context (Results 1 – 12 of 12) sorted by relevance

/arch/arm64/include/asm/
Dkvm_hyp.h139 void __sysreg_save_host_state(struct kvm_cpu_context *ctxt);
140 void __sysreg_restore_host_state(struct kvm_cpu_context *ctxt);
141 void __sysreg_save_guest_state(struct kvm_cpu_context *ctxt);
142 void __sysreg_restore_guest_state(struct kvm_cpu_context *ctxt);
148 struct kvm_cpu_context *ctxt);
151 struct kvm_cpu_context *ctxt);
159 u64 __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host_ctxt);
Dkvm_host.h191 struct kvm_cpu_context { struct
201 typedef struct kvm_cpu_context kvm_cpu_context_t; argument
204 struct kvm_cpu_context ctxt;
/arch/arm64/kvm/hyp/
Dsysreg-sr.c25 static void __hyp_text __sysreg_do_nothing(struct kvm_cpu_context *ctxt) { } in __sysreg_do_nothing()
34 static void __hyp_text __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
43 static void __hyp_text __sysreg_save_state(struct kvm_cpu_context *ctxt) in __sysreg_save_state()
75 void __hyp_text __sysreg_save_host_state(struct kvm_cpu_context *ctxt) in __sysreg_save_host_state()
81 void __hyp_text __sysreg_save_guest_state(struct kvm_cpu_context *ctxt) in __sysreg_save_guest_state()
87 static void __hyp_text __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
96 static void __hyp_text __sysreg_restore_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_state()
128 void __hyp_text __sysreg_restore_host_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_host_state()
134 void __hyp_text __sysreg_restore_guest_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_guest_state()
Ddebug-sr.c133 struct kvm_cpu_context *ctxt) in __debug_save_state()
155 struct kvm_cpu_context *ctxt) in __debug_restore_state()
Dswitch.c320 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run()
321 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run()
468 void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context *host_ctxt) in hyp_panic()
/arch/arm/include/asm/
Dkvm_hyp.h107 void __sysreg_save_state(struct kvm_cpu_context *ctxt);
108 void __sysreg_restore_state(struct kvm_cpu_context *ctxt);
120 void __hyp_text __banked_save_state(struct kvm_cpu_context *ctxt);
121 void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt);
124 struct kvm_cpu_context *host);
Dkvm_host.h140 struct kvm_cpu_context { struct
146 typedef struct kvm_cpu_context kvm_cpu_context_t; argument
149 struct kvm_cpu_context ctxt;
/arch/arm/kvm/hyp/
Dcp15-sr.c23 static u64 *cp15_64(struct kvm_cpu_context *ctxt, int idx) in cp15_64()
28 void __hyp_text __sysreg_save_state(struct kvm_cpu_context *ctxt) in __sysreg_save_state()
57 void __hyp_text __sysreg_restore_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_state()
Dswitch.c158 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run()
159 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run()
236 struct kvm_cpu_context *host_ctxt; in __hyp_panic()
Dbanked-sr.c29 void __hyp_text __banked_save_state(struct kvm_cpu_context *ctxt) in __banked_save_state()
56 void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt) in __banked_restore_state()
/arch/arm/kernel/
Dasm-offsets.c178 DEFINE(CPU_CTXT_VFP, offsetof(struct kvm_cpu_context, vfp)); in main()
179 DEFINE(CPU_CTXT_GP_REGS, offsetof(struct kvm_cpu_context, gp_regs)); in main()
/arch/arm64/kernel/
Dasm-offsets.c135 DEFINE(CPU_GP_REGS, offsetof(struct kvm_cpu_context, gp_regs)); in main()
140 DEFINE(HOST_CONTEXT_VCPU, offsetof(struct kvm_cpu_context, __hyp_running_vcpu)); in main()