/linux/arch/arm64/include/asm/ |
A D | kvm_emulate.h | 49 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr() 92 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr() 97 static inline void vcpu_clear_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfx_traps() 107 static inline void vcpu_set_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfx_traps() 113 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable() 118 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable() 156 static inline void vcpu_set_thumb(struct kvm_vcpu *vcpu) in vcpu_set_thumb() 211 static inline bool vcpu_mode_priv(const struct kvm_vcpu *vcpu) in vcpu_mode_priv() 367 static inline bool kvm_is_write_fault(struct kvm_vcpu *vcpu) in kvm_is_write_fault() 383 static inline void kvm_vcpu_set_be(struct kvm_vcpu *vcpu) in kvm_vcpu_set_be() [all …]
|
/linux/arch/powerpc/kvm/ |
A D | booke.c | 90 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu() 113 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe() 331 void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_queue_dec() 336 int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu) in kvmppc_core_pending_dec() 341 void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_dequeue_dec() 373 void kvmppc_core_queue_debug(struct kvm_vcpu *vcpu) in kvmppc_core_queue_debug() 758 int kvmppc_vcpu_run(struct kvm_vcpu *vcpu) in kvmppc_vcpu_run() 828 static int emulation_exit(struct kvm_vcpu *vcpu) in emulation_exit() 1501 static void get_sregs_base(struct kvm_vcpu *vcpu, in get_sregs_base() 1520 static int set_sregs_base(struct kvm_vcpu *vcpu, in set_sregs_base() [all …]
|
A D | book3s.c | 198 void kvmppc_core_queue_syscall(struct kvm_vcpu *vcpu) in kvmppc_core_queue_syscall() 229 void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_queue_dec() 235 int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu) in kvmppc_core_pending_dec() 241 void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_dequeue_dec() 484 int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, in kvmppc_load_last_inst() 501 int kvmppc_subarch_vcpu_init(struct kvm_vcpu *vcpu) in kvmppc_subarch_vcpu_init() 777 void kvmppc_core_vcpu_put(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put() 782 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 msr) in kvmppc_set_msr() 788 int kvmppc_vcpu_run(struct kvm_vcpu *vcpu) in kvmppc_vcpu_run() 814 int kvmppc_core_vcpu_create(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_create() [all …]
|
A D | book3s_pr.c | 67 static bool kvmppc_is_split_real(struct kvm_vcpu *vcpu) in kvmppc_is_split_real() 73 static void kvmppc_fixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_fixup_split_real() 186 void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_to_svcpu() 258 void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_from_svcpu() 337 void kvmppc_save_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_save_tm_sprs() 346 void kvmppc_restore_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_restore_tm_sprs() 377 void kvmppc_save_tm_pr(struct kvm_vcpu *vcpu) in kvmppc_save_tm_pr() 392 void kvmppc_restore_tm_pr(struct kvm_vcpu *vcpu) in kvmppc_restore_tm_pr() 432 struct kvm_vcpu *vcpu; in do_kvm_unmap_gfn() local 1865 struct kvm_vcpu *vcpu; in kvm_vm_ioctl_get_dirty_log_pr() local [all …]
|
/linux/arch/riscv/kvm/ |
A D | vcpu.c | 74 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create() 101 void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_postcreate() 105 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy() 114 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_cpu_has_pending_timer() 119 void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_blocking() 123 void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_unblocking() 127 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable() 138 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel() 382 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_async_ioctl() local 403 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_ioctl() local [all …]
|
/linux/arch/x86/kvm/ |
A D | kvm_cache_regs.h | 46 static inline bool kvm_register_is_dirty(struct kvm_vcpu *vcpu, in kvm_register_is_dirty() 98 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read() 108 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read() 142 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0() 156 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3() 163 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4() 168 static inline u64 kvm_read_edx_eax(struct kvm_vcpu *vcpu) in kvm_read_edx_eax() 174 static inline void enter_guest_mode(struct kvm_vcpu *vcpu) in enter_guest_mode() 180 static inline void leave_guest_mode(struct kvm_vcpu *vcpu) in leave_guest_mode() 192 static inline bool is_guest_mode(struct kvm_vcpu *vcpu) in is_guest_mode() [all …]
|
A D | cpuid.h | 36 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr() 84 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, in guest_cpuid_has() 116 static inline bool guest_cpuid_is_intel(struct kvm_vcpu *vcpu) in guest_cpuid_is_intel() 124 static inline int guest_cpuid_family(struct kvm_vcpu *vcpu) in guest_cpuid_family() 135 static inline int guest_cpuid_model(struct kvm_vcpu *vcpu) in guest_cpuid_model() 146 static inline int guest_cpuid_stepping(struct kvm_vcpu *vcpu) in guest_cpuid_stepping() 157 static inline bool guest_has_spec_ctrl_msr(struct kvm_vcpu *vcpu) in guest_has_spec_ctrl_msr() 165 static inline bool guest_has_pred_cmd_msr(struct kvm_vcpu *vcpu) in guest_has_pred_cmd_msr() 171 static inline bool supports_cpuid_fault(struct kvm_vcpu *vcpu) in supports_cpuid_fault() 176 static inline bool cpuid_fault_enabled(struct kvm_vcpu *vcpu) in cpuid_fault_enabled() [all …]
|
A D | x86.h | 139 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() 144 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() 153 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode() 165 static inline bool is_64_bit_hypercall(struct kvm_vcpu *vcpu) in is_64_bit_hypercall() 184 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested() 189 static inline int is_pae(struct kvm_vcpu *vcpu) in is_pae() 194 static inline int is_pse(struct kvm_vcpu *vcpu) in is_pse() 199 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() 204 static inline bool is_pae_paging(struct kvm_vcpu *vcpu) in is_pae_paging() 209 static inline u8 vcpu_virt_addr_bits(struct kvm_vcpu *vcpu) in vcpu_virt_addr_bits() [all …]
|
A D | x86.c | 2819 struct kvm_vcpu *vcpu; in kvm_end_pvclock_update() local 3074 struct kvm_vcpu *vcpu; in kvmclock_update_fn() local 5695 struct kvm_vcpu *vcpu; in kvm_arch_sync_dirty_log() local 5964 struct kvm_vcpu *vcpu; in kvm_arch_suspend_notifier() local 6858 struct kvm_vcpu *vcpu, in emulator_read_write_onepage() 8396 struct kvm_vcpu *vcpu; in __kvmclock_cpufreq_notifier() local 8571 struct kvm_vcpu *vcpu; in pvclock_gtod_update_fn() local 10673 struct kvm_vcpu *vcpu; in kvm_arch_vcpu_guestdbg_update_apicv_inhibit() local 11161 struct kvm_vcpu *vcpu; in kvm_arch_hardware_enable() local 11416 struct kvm_vcpu *vcpu; in kvm_free_vcpus() local [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_booke.h | 31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() 36 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr() 41 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr() 46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer() 51 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer() 56 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap() 67 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr() 72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr() 77 static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) in kvmppc_get_lr() 87 static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) in kvmppc_get_pc() [all …]
|
/linux/arch/x86/kvm/svm/ |
A D | svm.c | 277 int svm_set_efer(struct kvm_vcpu *vcpu, u64 efer) in svm_set_efer() 437 static void svm_init_osvw(struct kvm_vcpu *vcpu) in svm_init_osvw() 1215 static void init_vmcb(struct kvm_vcpu *vcpu) in init_vmcb() 1748 static int svm_get_cpl(struct kvm_vcpu *vcpu) in svm_get_cpl() 2610 static int cr_trap(struct kvm_vcpu *vcpu) in cr_trap() 2695 static int efer_trap(struct kvm_vcpu *vcpu) in efer_trap() 3210 static void dump_vmcb(struct kvm_vcpu *vcpu) in dump_vmcb() 3442 static void reload_tss(struct kvm_vcpu *vcpu) in reload_tss() 3521 bool svm_nmi_blocked(struct kvm_vcpu *vcpu) in svm_nmi_blocked() 3670 void svm_flush_tlb(struct kvm_vcpu *vcpu) in svm_flush_tlb() [all …]
|
/linux/include/kvm/ |
A D | arm_pmu.h | 69 static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_counter_value() 80 static inline void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_init() 81 static inline void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_reset() 82 static inline void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_destroy() 85 static inline void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu) {} in kvm_pmu_flush_hwstate() 86 static inline void kvm_pmu_sync_hwstate(struct kvm_vcpu *vcpu) {} in kvm_pmu_sync_hwstate() 91 static inline void kvm_pmu_update_run(struct kvm_vcpu *vcpu) {} in kvm_pmu_update_run() 96 static inline int kvm_arm_pmu_v3_set_attr(struct kvm_vcpu *vcpu, in kvm_arm_pmu_v3_set_attr() 101 static inline int kvm_arm_pmu_v3_get_attr(struct kvm_vcpu *vcpu, in kvm_arm_pmu_v3_get_attr() 106 static inline int kvm_arm_pmu_v3_has_attr(struct kvm_vcpu *vcpu, in kvm_arm_pmu_v3_has_attr() [all …]
|
/linux/arch/arm64/kvm/ |
A D | sys_regs.c | 111 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw() 366 static void reg_to_dbg(struct kvm_vcpu *vcpu, in reg_to_dbg() 383 static void dbg_to_reg(struct kvm_vcpu *vcpu, in dbg_to_reg() 394 static bool trap_bvr(struct kvm_vcpu *vcpu, in trap_bvr() 430 static void reset_bvr(struct kvm_vcpu *vcpu, in reset_bvr() 436 static bool trap_bcr(struct kvm_vcpu *vcpu, in trap_bcr() 473 static void reset_bcr(struct kvm_vcpu *vcpu, in reset_bcr() 479 static bool trap_wvr(struct kvm_vcpu *vcpu, in trap_wvr() 516 static void reset_wvr(struct kvm_vcpu *vcpu, in reset_wvr() 522 static bool trap_wcr(struct kvm_vcpu *vcpu, in trap_wcr() [all …]
|
A D | pmu-emul.c | 66 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_pmc_is_chained() local 249 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_init() 263 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_reset() 280 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_destroy() 417 void kvm_pmu_update_run(struct kvm_vcpu *vcpu) in kvm_pmu_update_run() 434 void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu) in kvm_pmu_flush_hwstate() 446 void kvm_pmu_sync_hwstate(struct kvm_vcpu *vcpu) in kvm_pmu_sync_hwstate() 458 struct kvm_vcpu *vcpu; in kvm_pmu_perf_overflow_notify_vcpu() local 476 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_perf_overflow() local 834 int kvm_arm_pmu_v3_enable(struct kvm_vcpu *vcpu) in kvm_arm_pmu_v3_enable() [all …]
|
A D | psci.c | 34 static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_suspend() 55 static void kvm_psci_vcpu_off(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_off() 72 struct kvm_vcpu *vcpu = NULL; in kvm_psci_vcpu_on() local 188 static void kvm_psci_system_off(struct kvm_vcpu *vcpu) in kvm_psci_system_off() 193 static void kvm_psci_system_reset(struct kvm_vcpu *vcpu) in kvm_psci_system_reset() 198 static void kvm_psci_narrow_to_32bit(struct kvm_vcpu *vcpu) in kvm_psci_narrow_to_32bit() 225 static int kvm_psci_0_2_call(struct kvm_vcpu *vcpu) in kvm_psci_0_2_call() 308 static int kvm_psci_1_0_call(struct kvm_vcpu *vcpu) in kvm_psci_1_0_call() 354 static int kvm_psci_0_1_call(struct kvm_vcpu *vcpu) in kvm_psci_0_1_call() 393 int kvm_psci_call(struct kvm_vcpu *vcpu) in kvm_psci_call() [all …]
|
A D | handle_exit.c | 35 static int handle_hvc(struct kvm_vcpu *vcpu) in handle_hvc() 52 static int handle_smc(struct kvm_vcpu *vcpu) in handle_smc() 71 static int handle_no_fpsimd(struct kvm_vcpu *vcpu) in handle_no_fpsimd() 89 static int kvm_handle_wfx(struct kvm_vcpu *vcpu) in kvm_handle_wfx() 118 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu) in kvm_handle_guest_debug() 132 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu) in kvm_handle_unknown_ec() 143 static int handle_sve(struct kvm_vcpu *vcpu) in handle_sve() 155 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu) in kvm_handle_ptrauth() 200 static int handle_trap_exceptions(struct kvm_vcpu *vcpu) in handle_trap_exceptions() 225 int handle_exit(struct kvm_vcpu *vcpu, int exception_index) in handle_exit() [all …]
|
A D | arch_timer.c | 57 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_ctl() local 72 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_cval() local 87 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_offset() local 99 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_ctl() local 115 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_cval() local 131 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_offset() local 266 struct kvm_vcpu *vcpu; in kvm_bg_timer_expire() local 290 struct kvm_vcpu *vcpu; in kvm_hrtimer_expire() local 554 struct kvm_vcpu *vcpu = ctx->vcpu; in kvm_timer_vcpu_load_gic() local 1229 int kvm_timer_enable(struct kvm_vcpu *vcpu) in kvm_timer_enable() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | sys_regs.c | 33 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64() 86 static u64 get_pvm_id_aa64pfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr0() 107 static u64 get_pvm_id_aa64pfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr1() 118 static u64 get_pvm_id_aa64zfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64zfr0() 128 static u64 get_pvm_id_aa64dfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr0() 138 static u64 get_pvm_id_aa64dfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr1() 207 u64 pvm_read_id_reg(const struct kvm_vcpu *vcpu, u32 id) in pvm_read_id_reg() 246 static u64 read_id_reg(const struct kvm_vcpu *vcpu, in read_id_reg() 268 static bool pvm_access_id_aarch32(struct kvm_vcpu *vcpu, in pvm_access_id_aarch32() 294 static bool pvm_access_id_aarch64(struct kvm_vcpu *vcpu, in pvm_access_id_aarch64() [all …]
|
/linux/arch/mips/kvm/ |
A D | vz.c | 444 void kvm_vz_acquire_htimer(struct kvm_vcpu *vcpu) in kvm_vz_acquire_htimer() 547 void kvm_vz_lose_htimer(struct kvm_vcpu *vcpu) in kvm_vz_lose_htimer() 877 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_cop0() 1076 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_cache() 1145 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_lwc2() 1213 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_gpsi() 1295 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_gsfc() 1421 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_ghfc() 1433 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_hc() 1465 struct kvm_vcpu *vcpu) in kvm_trap_vz_no_handler_guest_exit() [all …]
|
/linux/arch/s390/kvm/ |
A D | intercept.c | 25 u8 kvm_s390_get_ilen(struct kvm_vcpu *vcpu) in kvm_s390_get_ilen() 53 static int handle_stop(struct kvm_vcpu *vcpu) in handle_stop() 91 static int handle_validity(struct kvm_vcpu *vcpu) in handle_validity() 211 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb() 231 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog() 327 static int handle_mvpg_pei(struct kvm_vcpu *vcpu) in handle_mvpg_pei() 374 int handle_sthyi(struct kvm_vcpu *vcpu) in handle_sthyi() 429 static int handle_operexc(struct kvm_vcpu *vcpu) in handle_operexc() 465 static int handle_pv_spx(struct kvm_vcpu *vcpu) in handle_pv_spx() 474 static int handle_pv_sclp(struct kvm_vcpu *vcpu) in handle_pv_sclp() [all …]
|
A D | priv.c | 34 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri() 47 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa() 55 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs() 75 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3() 245 static int handle_iske(struct kvm_vcpu *vcpu) in handle_iske() 293 static int handle_rrbe(struct kvm_vcpu *vcpu) in handle_rrbe() 342 static int handle_sske(struct kvm_vcpu *vcpu) in handle_sske() 469 static int handle_tpi(struct kvm_vcpu *vcpu) in handle_tpi() 535 static int handle_tsch(struct kvm_vcpu *vcpu) in handle_tsch() 612 static int handle_pqap(struct kvm_vcpu *vcpu) in handle_pqap() [all …]
|
A D | kvm-s390.h | 24 #define IS_TE_ENABLED(vcpu) ((vcpu->arch.sie_block->ecb & ECB_TE)) argument 75 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped() 80 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle() 97 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix() 122 static inline void kvm_s390_get_base_disp_sse(struct kvm_vcpu *vcpu, in kvm_s390_get_base_disp_sse() 236 static inline u64 kvm_s390_pv_cpu_get_handle(struct kvm_vcpu *vcpu) in kvm_s390_pv_cpu_get_handle() 247 static inline bool kvm_s390_pv_cpu_is_protected(struct kvm_vcpu *vcpu) in kvm_s390_pv_cpu_is_protected() 264 static inline int kvm_s390_inject_prog_irq(struct kvm_vcpu *vcpu, in kvm_s390_inject_prog_irq() 302 static inline void kvm_s390_retry_instr(struct kvm_vcpu *vcpu) in kvm_s390_retry_instr() 361 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_block_all() local [all …]
|
/linux/arch/arm64/kvm/hyp/include/hyp/ |
A D | switch.h | 42 static inline bool update_fp_enabled(struct kvm_vcpu *vcpu) in update_fp_enabled() 60 static inline void __fpsimd_save_fpexc32(struct kvm_vcpu *vcpu) in __fpsimd_save_fpexc32() 68 static inline void __activate_traps_fpsimd32(struct kvm_vcpu *vcpu) in __activate_traps_fpsimd32() 85 static inline void __activate_traps_common(struct kvm_vcpu *vcpu) in __activate_traps_common() 105 static inline void __deactivate_traps_common(struct kvm_vcpu *vcpu) in __deactivate_traps_common() 114 static inline void ___activate_traps(struct kvm_vcpu *vcpu) in ___activate_traps() 127 static inline void ___deactivate_traps(struct kvm_vcpu *vcpu) in ___deactivate_traps() 141 static inline bool __populate_fault_info(struct kvm_vcpu *vcpu) in __populate_fault_info() 146 static inline void __hyp_sve_save_host(struct kvm_vcpu *vcpu) in __hyp_sve_save_host() 156 static inline void __hyp_sve_restore_guest(struct kvm_vcpu *vcpu) in __hyp_sve_restore_guest() [all …]
|
/linux/arch/x86/kvm/vmx/ |
A D | vmx.c | 2976 void ept_save_pdptrs(struct kvm_vcpu *vcpu) in ept_save_pdptrs() 3253 int vmx_get_cpl(struct kvm_vcpu *vcpu) in vmx_get_cpl() 3457 static bool tr_valid(struct kvm_vcpu *vcpu) in tr_valid() 4038 struct kvm_vcpu *vcpu = &vmx->vcpu; in set_cr4_guest_host_mask() local 4193 struct kvm_vcpu *vcpu = &vmx->vcpu; in vmx_secondary_exec_control() local 4545 bool vmx_get_nmi_mask(struct kvm_vcpu *vcpu) in vmx_get_nmi_mask() 4579 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu) in vmx_nmi_blocked() 4871 static int handle_io(struct kvm_vcpu *vcpu) in handle_io() 4960 static int handle_cr(struct kvm_vcpu *vcpu) in handle_cr() 5040 static int handle_dr(struct kvm_vcpu *vcpu) in handle_dr() [all …]
|
A D | nested.c | 150 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed() 279 static void free_nested(struct kvm_vcpu *vcpu) in free_nested() 327 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu() 1950 struct kvm_vcpu *vcpu, bool from_launch) in nested_vmx_handle_enlightened_vmptrld() 4895 static int handle_vmon(struct kvm_vcpu *vcpu) in handle_vmon() 4987 static int handle_vmoff(struct kvm_vcpu *vcpu) in handle_vmoff() 5001 static int handle_vmclear(struct kvm_vcpu *vcpu) in handle_vmclear() 5060 static int handle_vmread(struct kvm_vcpu *vcpu) in handle_vmread() 5362 static int handle_invept(struct kvm_vcpu *vcpu) in handle_invept() 5564 static int handle_vmfunc(struct kvm_vcpu *vcpu) in handle_vmfunc() [all …]
|