Home
last modified time | relevance | path

Searched refs:kvm_vcpu_arch (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/arch/riscv/kernel/
Dasm-offsets.c119 OFFSET(KVM_ARCH_GUEST_ZERO, kvm_vcpu_arch, guest_context.zero); in asm_offsets()
120 OFFSET(KVM_ARCH_GUEST_RA, kvm_vcpu_arch, guest_context.ra); in asm_offsets()
121 OFFSET(KVM_ARCH_GUEST_SP, kvm_vcpu_arch, guest_context.sp); in asm_offsets()
122 OFFSET(KVM_ARCH_GUEST_GP, kvm_vcpu_arch, guest_context.gp); in asm_offsets()
123 OFFSET(KVM_ARCH_GUEST_TP, kvm_vcpu_arch, guest_context.tp); in asm_offsets()
124 OFFSET(KVM_ARCH_GUEST_T0, kvm_vcpu_arch, guest_context.t0); in asm_offsets()
125 OFFSET(KVM_ARCH_GUEST_T1, kvm_vcpu_arch, guest_context.t1); in asm_offsets()
126 OFFSET(KVM_ARCH_GUEST_T2, kvm_vcpu_arch, guest_context.t2); in asm_offsets()
127 OFFSET(KVM_ARCH_GUEST_S0, kvm_vcpu_arch, guest_context.s0); in asm_offsets()
128 OFFSET(KVM_ARCH_GUEST_S1, kvm_vcpu_arch, guest_context.s1); in asm_offsets()
[all …]
/linux-5.19.10/arch/mips/kernel/
Dasm-offsets.c350 OFFSET(VCPU_FPR0, kvm_vcpu_arch, fpu.fpr[0]); in output_kvm_defines()
351 OFFSET(VCPU_FPR1, kvm_vcpu_arch, fpu.fpr[1]); in output_kvm_defines()
352 OFFSET(VCPU_FPR2, kvm_vcpu_arch, fpu.fpr[2]); in output_kvm_defines()
353 OFFSET(VCPU_FPR3, kvm_vcpu_arch, fpu.fpr[3]); in output_kvm_defines()
354 OFFSET(VCPU_FPR4, kvm_vcpu_arch, fpu.fpr[4]); in output_kvm_defines()
355 OFFSET(VCPU_FPR5, kvm_vcpu_arch, fpu.fpr[5]); in output_kvm_defines()
356 OFFSET(VCPU_FPR6, kvm_vcpu_arch, fpu.fpr[6]); in output_kvm_defines()
357 OFFSET(VCPU_FPR7, kvm_vcpu_arch, fpu.fpr[7]); in output_kvm_defines()
358 OFFSET(VCPU_FPR8, kvm_vcpu_arch, fpu.fpr[8]); in output_kvm_defines()
359 OFFSET(VCPU_FPR9, kvm_vcpu_arch, fpu.fpr[9]); in output_kvm_defines()
[all …]
/linux-5.19.10/arch/mips/kvm/
Dentry.c243 UASM_i_SW(&p, SP, offsetof(struct kvm_vcpu_arch, host_stack), K1); in kvm_mips_build_vcpu_run()
246 UASM_i_SW(&p, GP, offsetof(struct kvm_vcpu_arch, host_gp), K1); in kvm_mips_build_vcpu_run()
257 UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, guest_ebase), K1); in kvm_mips_build_vcpu_run()
299 UASM_i_LW(&p, T0, offsetof(struct kvm_vcpu_arch, pc), K1); in kvm_mips_build_enter_guest()
307 UASM_i_SW(&p, K0, offsetof(struct kvm_vcpu_arch, host_pgd), K1); in kvm_mips_build_enter_guest()
357 UASM_i_SW(&p, K0, offsetof(struct kvm_vcpu_arch, host_entryhi), in kvm_mips_build_enter_guest()
400 UASM_i_LW(&p, i, offsetof(struct kvm_vcpu_arch, gprs[i]), K1); in kvm_mips_build_enter_guest()
405 UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, hi), K1); in kvm_mips_build_enter_guest()
408 UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, lo), K1); in kvm_mips_build_enter_guest()
413 UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, gprs[K0]), K1); in kvm_mips_build_enter_guest()
[all …]
Dvz.c1081 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_vz_gpsi_cache()
1216 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_trap_vz_handle_gpsi()
1298 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_trap_vz_handle_gsfc()
Demulate.c45 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc()
/linux-5.19.10/arch/mips/include/asm/
Dkvm_host.h292 struct kvm_vcpu_arch { struct
694 static inline bool kvm_mips_guest_can_have_fpu(struct kvm_vcpu_arch *vcpu) in kvm_mips_guest_can_have_fpu()
700 static inline bool kvm_mips_guest_has_fpu(struct kvm_vcpu_arch *vcpu) in kvm_mips_guest_has_fpu()
706 static inline bool kvm_mips_guest_can_have_msa(struct kvm_vcpu_arch *vcpu) in kvm_mips_guest_can_have_msa()
712 static inline bool kvm_mips_guest_has_msa(struct kvm_vcpu_arch *vcpu) in kvm_mips_guest_has_msa()
778 void __kvm_save_fpu(struct kvm_vcpu_arch *vcpu);
779 void __kvm_restore_fpu(struct kvm_vcpu_arch *vcpu);
780 void __kvm_restore_fcsr(struct kvm_vcpu_arch *vcpu);
781 void __kvm_save_msa(struct kvm_vcpu_arch *vcpu);
782 void __kvm_restore_msa(struct kvm_vcpu_arch *vcpu);
[all …]
/linux-5.19.10/arch/riscv/include/asm/
Dkvm_host.h165 struct kvm_vcpu_arch { struct
317 void __kvm_riscv_switch_to(struct kvm_vcpu_arch *vcpu_arch);
/linux-5.19.10/arch/riscv/kvm/
Dtlb.c266 struct kvm_vcpu_arch *varch = &vcpu->arch; in vcpu_hfence_dequeue()
291 struct kvm_vcpu_arch *varch = &vcpu->arch; in vcpu_hfence_enqueue()
Dvcpu.c623 struct kvm_vcpu_arch *v = &vcpu->arch; in kvm_riscv_vcpu_sync_interrupts()
/linux-5.19.10/arch/arm64/include/asm/
Dkvm_host.h306 struct kvm_vcpu_arch { struct
737 static inline void kvm_arm_pvtime_vcpu_init(struct kvm_vcpu_arch *vcpu_arch) in kvm_arm_pvtime_vcpu_init()
742 static inline bool kvm_arm_is_pvtime_enabled(struct kvm_vcpu_arch *vcpu_arch) in kvm_arm_is_pvtime_enabled()
/linux-5.19.10/arch/arm64/kvm/
Dpmu-emul.c63 struct kvm_vcpu_arch *vcpu_arch; in kvm_pmc_to_vcpu()
67 vcpu_arch = container_of(pmu, struct kvm_vcpu_arch, pmu); in kvm_pmc_to_vcpu()
/linux-5.19.10/arch/powerpc/include/asm/
Dkvm_host.h512 struct kvm_vcpu_arch { struct
/linux-5.19.10/arch/s390/include/asm/
Dkvm_host.h723 struct kvm_vcpu_arch { struct
/linux-5.19.10/arch/x86/include/asm/
Dkvm_host.h625 struct kvm_vcpu_arch { struct
/linux-5.19.10/include/linux/
Dkvm_host.h370 struct kvm_vcpu_arch arch;
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_pr.c523 struct kvm_vcpu_arch *a = &vcpu->arch; in kvmppc_set_msr_pr()
/linux-5.19.10/arch/x86/kvm/
Dx86.c3023 struct kvm_vcpu_arch *vcpu = &v->arch; in kvm_setup_guest_pvclock()
3074 struct kvm_vcpu_arch *vcpu = &v->arch; in kvm_guest_time_update()