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.h138 void __sysreg_save_host_state(struct kvm_cpu_context *ctxt);
139 void __sysreg_restore_host_state(struct kvm_cpu_context *ctxt);
140 void __sysreg_save_guest_state(struct kvm_cpu_context *ctxt);
141 void __sysreg_restore_guest_state(struct kvm_cpu_context *ctxt);
147 struct kvm_cpu_context *ctxt);
150 struct kvm_cpu_context *ctxt);
158 u64 __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host_ctxt);
Dkvm_host.h190 struct kvm_cpu_context { struct
198 typedef struct kvm_cpu_context kvm_cpu_context_t; argument
201 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()
46 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()
99 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.c70 struct kvm_cpu_context *ctxt) in __debug_save_state()
92 struct kvm_cpu_context *ctxt) in __debug_restore_state()
Dswitch.c272 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run()
273 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run()
406 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.h139 struct kvm_cpu_context { struct
145 typedef struct kvm_cpu_context kvm_cpu_context_t; argument
148 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.c133 DEFINE(CPU_GP_REGS, offsetof(struct kvm_cpu_context, gp_regs)); in main()