Home
last modified time | relevance | path

Searched defs:vcpu (Results 26 – 50 of 384) sorted by relevance

12345678910>>...16

/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.h24 #define IS_TE_ENABLED(vcpu) ((vcpu->arch.sie_block->ecb & ECB_TE)) argument
26 #define IS_ITDB_VALID(vcpu) \ argument
76 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
81 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
98 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
138 static inline void kvm_s390_get_base_disp_sse(struct kvm_vcpu *vcpu, in kvm_s390_get_base_disp_sse()
288 static inline u64 kvm_s390_pv_cpu_get_handle(struct kvm_vcpu *vcpu) in kvm_s390_pv_cpu_get_handle()
304 static inline int kvm_s390_inject_prog_irq(struct kvm_vcpu *vcpu, in kvm_s390_inject_prog_irq()
342 static inline void kvm_s390_retry_instr(struct kvm_vcpu *vcpu) in kvm_s390_retry_instr()
401 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_block_all() local
[all …]
H A Dsigp.c44 static int __inject_sigp_emergency(struct kvm_vcpu *vcpu, in __inject_sigp_emergency()
66 static int __sigp_conditional_emergency(struct kvm_vcpu *vcpu, in __sigp_conditional_emergency()
93 static int __sigp_external_call(struct kvm_vcpu *vcpu, in __sigp_external_call()
132 static int __sigp_stop_and_store_status(struct kvm_vcpu *vcpu, in __sigp_stop_and_store_status()
191 static int __sigp_store_status_at_addr(struct kvm_vcpu *vcpu, in __sigp_store_status_at_addr()
213 static int __sigp_sense_running(struct kvm_vcpu *vcpu, in __sigp_sense_running()
240 static int __prepare_sigp_re_start(struct kvm_vcpu *vcpu, in __prepare_sigp_re_start()
256 static int __prepare_sigp_cpu_reset(struct kvm_vcpu *vcpu, in __prepare_sigp_cpu_reset()
263 static int __prepare_sigp_unknown(struct kvm_vcpu *vcpu, in __prepare_sigp_unknown()
425 int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu) in kvm_s390_handle_sigp()
[all …]
H A Dguestdbg.c59 static void enable_all_hw_bp(struct kvm_vcpu *vcpu) in enable_all_hw_bp()
99 static void enable_all_hw_wp(struct kvm_vcpu *vcpu) in enable_all_hw_wp()
130 void kvm_s390_backup_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_backup_guest_per_regs()
146 void kvm_s390_patch_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_patch_guest_per_regs()
174 static int __import_wp_info(struct kvm_vcpu *vcpu, in __import_wp_info()
203 int kvm_s390_import_bp_data(struct kvm_vcpu *vcpu, in kvm_s390_import_bp_data()
282 void kvm_s390_clear_bp_data(struct kvm_vcpu *vcpu) in kvm_s390_clear_bp_data()
371 void kvm_s390_prepare_debug_exit(struct kvm_vcpu *vcpu) in kvm_s390_prepare_debug_exit()
494 #define guest_per_enabled(vcpu) \ argument
537 static int filter_guest_per_event(struct kvm_vcpu *vcpu) in filter_guest_per_event()
[all …]
H A Dinterrupt.c150 int psw_extint_disabled(struct kvm_vcpu *vcpu) in psw_extint_disabled()
160 static int psw_mchk_disabled(struct kvm_vcpu *vcpu) in psw_mchk_disabled()
183 static int ckc_irq_pending(struct kvm_vcpu *vcpu) in ckc_irq_pending()
415 static void __set_cpu_idle(struct kvm_vcpu *vcpu) in __set_cpu_idle()
1297 int kvm_s390_handle_wait(struct kvm_vcpu *vcpu) in kvm_s390_handle_wait()
1357 struct kvm_vcpu *vcpu; in kvm_s390_idle_wakeup() local
1680 static int __inject_ckc(struct kvm_vcpu *vcpu) in __inject_ckc()
2680 struct kvm_vcpu *vcpu; in flic_set_attr() local
3072 struct kvm_vcpu *vcpu; in __airqs_kick_single_vcpu() local
3187 struct kvm_vcpu *vcpu; in kvm_s390_gisa_enable() local
[all …]
H A Dkvm-s390.c304 struct kvm_vcpu *vcpu; in kvm_clock_sync() local
742 struct kvm_vcpu *vcpu; in icpt_operexc_on_all_vcpus() local
1008 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_crypto_reset_all() local
1104 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_pci_enable_interp() local
1131 struct kvm_vcpu *vcpu; in kvm_s390_sync_request_broadcast() local
2440 struct kvm_vcpu *vcpu; in kvm_s390_cpus_from_pv() local
2485 struct kvm_vcpu *vcpu; in kvm_s390_cpus_to_pv() local
3571 struct kvm_vcpu *vcpu; in sca_switch_to_extended() local
4058 struct kvm_vcpu *vcpu; in kvm_gmap_notifier() local
4543 struct kvm_vcpu *vcpu; in __kvm_s390_set_tod_clock() local
[all …]
/openbmc/linux/arch/mips/kvm/
H A Demulate.c272 int kvm_get_badinstr(u32 *opc, struct kvm_vcpu *vcpu, u32 *out) in kvm_get_badinstr()
313 int kvm_mips_count_disabled(struct kvm_vcpu *vcpu) in kvm_mips_count_disabled()
445 u32 kvm_mips_read_count(struct kvm_vcpu *vcpu) in kvm_mips_read_count()
502 static void kvm_mips_resume_hrtimer(struct kvm_vcpu *vcpu, in kvm_mips_resume_hrtimer()
604 void kvm_mips_write_count(struct kvm_vcpu *vcpu, u32 count) in kvm_mips_write_count()
650 int kvm_mips_set_count_hz(struct kvm_vcpu *vcpu, s64 count_hz) in kvm_mips_set_count_hz()
780 static ktime_t kvm_mips_count_disable(struct kvm_vcpu *vcpu) in kvm_mips_count_disable()
807 void kvm_mips_count_disable_cause(struct kvm_vcpu *vcpu) in kvm_mips_count_disable_cause()
827 void kvm_mips_count_enable_cause(struct kvm_vcpu *vcpu) in kvm_mips_count_enable_cause()
970 struct kvm_vcpu *vcpu) in kvm_mips_emulate_store()
[all …]
H A Dmips.c113 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
118 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
263 struct kvm_vcpu *vcpu; in kvm_mips_comparecount_wakeup() local
280 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
389 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
904 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_async_ioctl() local
924 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_ioctl() local
1372 void kvm_own_fpu(struct kvm_vcpu *vcpu) in kvm_own_fpu()
1416 void kvm_own_msa(struct kvm_vcpu *vcpu) in kvm_own_msa()
1478 void kvm_drop_fpu(struct kvm_vcpu *vcpu) in kvm_drop_fpu()
[all …]
/openbmc/linux/arch/arm64/kvm/
H A Dguest.c405 #define vcpu_sve_slices(vcpu) 1 argument
419 struct kvm_vcpu *vcpu, in sve_reg_to_region()
718 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu) in kvm_arm_num_regs()
803 int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_get_sregs()
809 int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_set_sregs()
815 int __kvm_arm_vcpu_get_events(struct kvm_vcpu *vcpu, in __kvm_arm_vcpu_get_events()
833 int __kvm_arm_vcpu_set_events(struct kvm_vcpu *vcpu, in __kvm_arm_vcpu_set_events()
898 int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_translate()
944 int kvm_arm_vcpu_arch_set_attr(struct kvm_vcpu *vcpu, in kvm_arm_vcpu_arch_set_attr()
969 int kvm_arm_vcpu_arch_get_attr(struct kvm_vcpu *vcpu, in kvm_arm_vcpu_arch_get_attr()
[all …]
H A Ddebug.c40 static void save_guest_debug_regs(struct kvm_vcpu *vcpu) in save_guest_debug_regs()
53 static void restore_guest_debug_regs(struct kvm_vcpu *vcpu) in restore_guest_debug_regs()
96 static void kvm_arm_setup_mdcr_el2(struct kvm_vcpu *vcpu) in kvm_arm_setup_mdcr_el2()
137 void kvm_arm_vcpu_init_debug(struct kvm_vcpu *vcpu) in kvm_arm_vcpu_init_debug()
148 void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) in kvm_arm_reset_debug_ptr()
169 void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) in kvm_arm_setup_debug()
280 void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) in kvm_arm_clear_debug()
317 void kvm_arch_vcpu_load_debug_state_flags(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_load_debug_state_flags()
340 void kvm_arch_vcpu_put_debug_state_flags(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put_debug_state_flags()
H A Darm.c67 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
354 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
402 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
470 void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put()
499 bool kvm_arm_vcpu_stopped(struct kvm_vcpu *vcpu) in kvm_arm_vcpu_stopped()
661 struct kvm_vcpu *vcpu; in kvm_arm_halt_guest() local
671 struct kvm_vcpu *vcpu; in kvm_arm_resume_guest() local
708 void kvm_vcpu_wfi(struct kvm_vcpu *vcpu) in kvm_vcpu_wfi()
1142 struct kvm_vcpu *vcpu = NULL; in kvm_vm_ioctl_irq_line() local
1412 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_ioctl() local
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c153 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
295 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
344 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
2003 struct kvm_vcpu *vcpu, bool from_launch) in nested_vmx_handle_enlightened_vmptrld()
5176 static int handle_vmxon(struct kvm_vcpu *vcpu) in handle_vmxon()
5295 static int handle_vmxoff(struct kvm_vcpu *vcpu) in handle_vmxoff()
5309 static int handle_vmclear(struct kvm_vcpu *vcpu) in handle_vmclear()
5376 static int handle_vmread(struct kvm_vcpu *vcpu) in handle_vmread()
5701 static int handle_invept(struct kvm_vcpu *vcpu) in handle_invept()
5903 static int handle_vmfunc(struct kvm_vcpu *vcpu) in handle_vmfunc()
[all …]
H A Dnested.h39 static inline struct vmcs12 *get_vmcs12(struct kvm_vcpu *vcpu) in get_vmcs12()
44 static inline struct vmcs12 *get_shadow_vmcs12(struct kvm_vcpu *vcpu) in get_shadow_vmcs12()
54 static inline int vmx_has_valid_vmcs12(struct kvm_vcpu *vcpu) in vmx_has_valid_vmcs12()
63 static inline u16 nested_get_vpid02(struct kvm_vcpu *vcpu) in nested_get_vpid02()
70 static inline unsigned long nested_ept_get_eptp(struct kvm_vcpu *vcpu) in nested_ept_get_eptp()
76 static inline bool nested_ept_ad_enabled(struct kvm_vcpu *vcpu) in nested_ept_ad_enabled()
98 static inline unsigned nested_cpu_vmx_misc_cr3_count(struct kvm_vcpu *vcpu) in nested_cpu_vmx_misc_cr3_count()
108 static inline bool nested_cpu_has_vmwrite_any_field(struct kvm_vcpu *vcpu) in nested_cpu_has_vmwrite_any_field()
125 static inline bool nested_cpu_has_vmx_shadow_vmcs(struct kvm_vcpu *vcpu) in nested_cpu_has_vmx_shadow_vmcs()
227 static inline bool nested_exit_on_nmi(struct kvm_vcpu *vcpu) in nested_exit_on_nmi()
[all …]
H A Dpmu_intel.c139 static struct kvm_pmc *intel_rdpmc_ecx_to_pmc(struct kvm_vcpu *vcpu, in intel_rdpmc_ecx_to_pmc()
161 static inline u64 vcpu_get_perf_capabilities(struct kvm_vcpu *vcpu) in vcpu_get_perf_capabilities()
169 static inline bool fw_writes_is_enabled(struct kvm_vcpu *vcpu) in fw_writes_is_enabled()
200 static bool intel_is_valid_msr(struct kvm_vcpu *vcpu, u32 msr) in intel_is_valid_msr()
254 int intel_pmu_create_guest_lbr_event(struct kvm_vcpu *vcpu) in intel_pmu_create_guest_lbr_event()
485 static void intel_pmu_refresh(struct kvm_vcpu *vcpu) in intel_pmu_refresh()
596 static void intel_pmu_init(struct kvm_vcpu *vcpu) in intel_pmu_init()
621 static void intel_pmu_reset(struct kvm_vcpu *vcpu) in intel_pmu_reset()
644 static void intel_pmu_deliver_pmi(struct kvm_vcpu *vcpu) in intel_pmu_deliver_pmi()
703 void vmx_passthrough_lbr_msrs(struct kvm_vcpu *vcpu) in vmx_passthrough_lbr_msrs()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dhyperv.h62 static inline struct kvm_vcpu_hv *to_hv_vcpu(struct kvm_vcpu *vcpu) in to_hv_vcpu()
67 static inline struct kvm_vcpu_hv_synic *to_hv_synic(struct kvm_vcpu *vcpu) in to_hv_synic()
81 static inline struct kvm_hv_syndbg *to_hv_syndbg(struct kvm_vcpu *vcpu) in to_hv_syndbg()
86 static inline u32 kvm_hv_get_vpindex(struct kvm_vcpu *vcpu) in kvm_hv_get_vpindex()
96 static inline bool kvm_hv_hypercall_enabled(struct kvm_vcpu *vcpu) in kvm_hv_hypercall_enabled()
128 static inline bool kvm_hv_has_stimer_pending(struct kvm_vcpu *vcpu) in kvm_hv_has_stimer_pending()
143 static inline bool kvm_hv_invtsc_suppressed(struct kvm_vcpu *vcpu) in kvm_hv_invtsc_suppressed()
191 static inline void kvm_hv_vcpu_purge_flush_tlb(struct kvm_vcpu *vcpu) in kvm_hv_vcpu_purge_flush_tlb()
203 static inline bool guest_hv_cpuid_has_l2_tlb_flush(struct kvm_vcpu *vcpu) in guest_hv_cpuid_has_l2_tlb_flush()
211 static inline bool kvm_hv_is_tlb_flush_hcall(struct kvm_vcpu *vcpu) in kvm_hv_is_tlb_flush_hcall()
[all …]
H A Dxen.h40 static inline void kvm_xen_sw_enable_lapic(struct kvm_vcpu *vcpu) in kvm_xen_sw_enable_lapic()
66 static inline int kvm_xen_has_interrupt(struct kvm_vcpu *vcpu) in kvm_xen_has_interrupt()
82 static inline bool kvm_xen_timer_enabled(struct kvm_vcpu *vcpu) in kvm_xen_timer_enabled()
87 static inline int kvm_xen_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_xen_has_pending_timer()
110 static inline void kvm_xen_init_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_init_vcpu()
114 static inline void kvm_xen_destroy_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_destroy_vcpu()
118 static inline void kvm_xen_sw_enable_lapic(struct kvm_vcpu *vcpu) in kvm_xen_sw_enable_lapic()
132 static inline int kvm_xen_has_interrupt(struct kvm_vcpu *vcpu) in kvm_xen_has_interrupt()
146 static inline int kvm_xen_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_xen_has_pending_timer()
155 static inline bool kvm_xen_timer_enabled(struct kvm_vcpu *vcpu) in kvm_xen_timer_enabled()
[all …]
H A Dlapic.c219 struct kvm_vcpu *vcpu, in kvm_recalculate_phys_map()
295 struct kvm_vcpu *vcpu) in kvm_recalculate_logical_map()
377 struct kvm_vcpu *vcpu; in kvm_recalculate_apic_map() local
836 struct kvm_vcpu *vcpu; in __pv_send_ipi() local
1296 struct kvm_vcpu *vcpu = apic->vcpu; in __apic_accept_irq() local
1400 struct kvm_vcpu *vcpu; in kvm_bitmap_or_dest_vcpus() local
1553 struct kvm_vcpu *vcpu = apic->vcpu; in __report_tpr_access() local
1895 struct kvm_vcpu *vcpu = apic->vcpu; in apic_timer_expired() local
1937 struct kvm_vcpu *vcpu = apic->vcpu; in start_sw_tscdeadline() local
2103 struct kvm_vcpu *vcpu = apic->vcpu; in start_hv_timer() local
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c128 bool kvm_riscv_vcpu_timer_pending(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_pending()
140 static void kvm_riscv_vcpu_timer_blocking(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_blocking()
154 static void kvm_riscv_vcpu_timer_unblocking(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_unblocking()
159 int kvm_riscv_vcpu_get_reg_timer(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_timer()
199 int kvm_riscv_vcpu_set_reg_timer(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_timer()
244 int kvm_riscv_vcpu_timer_init(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_init()
269 int kvm_riscv_vcpu_timer_deinit(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_deinit()
279 int kvm_riscv_vcpu_timer_reset(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_reset()
299 void kvm_riscv_vcpu_timer_restore(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_restore()
322 void kvm_riscv_vcpu_timer_sync(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_sync()
[all …]
H A Dvcpu_onereg.c107 void kvm_riscv_vcpu_setup_isa(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_setup_isa()
119 static int kvm_riscv_vcpu_get_reg_config(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_config()
168 static int kvm_riscv_vcpu_set_reg_config(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_config()
272 static int kvm_riscv_vcpu_get_reg_core(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_core()
305 static int kvm_riscv_vcpu_set_reg_core(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_core()
381 static int kvm_riscv_vcpu_get_reg_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_csr()
417 static int kvm_riscv_vcpu_set_reg_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_csr()
703 static int copy_csr_reg_indices(const struct kvm_vcpu *vcpu, in copy_csr_reg_indices()
947 int kvm_riscv_vcpu_copy_reg_indices(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_copy_reg_indices()
994 int kvm_riscv_vcpu_set_reg(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg()
[all …]
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic.c152 void vgic_flush_pending_lpis(struct kvm_vcpu *vcpu) in vgic_flush_pending_lpis()
299 static void vgic_sort_ap_list(struct kvm_vcpu *vcpu) in vgic_sort_ap_list()
339 struct kvm_vcpu *vcpu; in vgic_queue_irq_unlock() local
442 struct kvm_vcpu *vcpu; in kvm_vgic_inject_irq() local
877 void kvm_vgic_sync_hwstate(struct kvm_vcpu *vcpu) in kvm_vgic_sync_hwstate()
907 void kvm_vgic_flush_hwstate(struct kvm_vcpu *vcpu) in kvm_vgic_flush_hwstate()
940 void kvm_vgic_load(struct kvm_vcpu *vcpu) in kvm_vgic_load()
951 void kvm_vgic_put(struct kvm_vcpu *vcpu) in kvm_vgic_put()
962 void kvm_vgic_vmcr_sync(struct kvm_vcpu *vcpu) in kvm_vgic_vmcr_sync()
973 int kvm_vgic_vcpu_pending_irq(struct kvm_vcpu *vcpu) in kvm_vgic_vcpu_pending_irq()
[all …]
H A Dvgic-mmio.c19 unsigned long vgic_mmio_read_raz(struct kvm_vcpu *vcpu, in vgic_mmio_read_raz()
25 unsigned long vgic_mmio_read_rao(struct kvm_vcpu *vcpu, in vgic_mmio_read_rao()
31 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_wi()
44 unsigned long vgic_mmio_read_group(struct kvm_vcpu *vcpu, in vgic_mmio_read_group()
116 void vgic_mmio_write_senable(struct kvm_vcpu *vcpu, in vgic_mmio_write_senable()
165 void vgic_mmio_write_cenable(struct kvm_vcpu *vcpu, in vgic_mmio_write_cenable()
187 int vgic_uaccess_write_senable(struct kvm_vcpu *vcpu, in vgic_uaccess_write_senable()
208 int vgic_uaccess_write_cenable(struct kvm_vcpu *vcpu, in vgic_uaccess_write_cenable()
304 void vgic_mmio_write_spending(struct kvm_vcpu *vcpu, in vgic_mmio_write_spending()
622 void vgic_mmio_write_cactive(struct kvm_vcpu *vcpu, in vgic_mmio_write_cactive()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dpowerpc.c55 bool kvm_arch_dy_runnable(struct kvm_vcpu *vcpu) in kvm_arch_dy_runnable()
60 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
79 int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu) in kvmppc_prepare_to_enter()
162 int kvmppc_kvm_pv(struct kvm_vcpu *vcpu) in kvmppc_kvm_pv()
253 int kvmppc_sanity_check(struct kvm_vcpu *vcpu) in kvmppc_sanity_check()
282 int kvmppc_emulate_mmio(struct kvm_vcpu *vcpu) in kvmppc_emulate_mmio()
766 struct kvm_vcpu *vcpu; in kvmppc_decrementer_wakeup() local
850 void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put()
1299 int kvmppc_handle_load(struct kvm_vcpu *vcpu, in kvmppc_handle_load()
2056 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_async_ioctl() local
[all …]
H A Dtiming.h20 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type()
27 static inline void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_init_timing_stats()
28 static inline void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_update_timing_stats()
29 static inline int kvmppc_create_vcpu_debugfs_e500(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs_e500()
34 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type()
38 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit_stat()
93 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c39 static void __activate_traps(struct kvm_vcpu *vcpu) in __activate_traps()
84 static void __deactivate_traps(struct kvm_vcpu *vcpu) in __deactivate_traps()
116 static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu) in __hyp_vgic_save_state()
125 static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu) in __hyp_vgic_restore_state()
137 static bool __pmu_switch_to_guest(struct kvm_vcpu *vcpu) in __pmu_switch_to_guest()
153 static void __pmu_switch_to_host(struct kvm_vcpu *vcpu) in __pmu_switch_to_host()
174 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64()
208 static const exit_handler_fn *kvm_get_exit_handler_array(struct kvm_vcpu *vcpu) in kvm_get_exit_handler_array()
227 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code) in early_exit_filter()
246 int __kvm_vcpu_run(struct kvm_vcpu *vcpu) in __kvm_vcpu_run()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/
H A Dexception.c23 static inline u64 __vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in __vcpu_read_sys_reg()
35 static inline void __vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in __vcpu_write_sys_reg()
43 static void __vcpu_write_spsr(struct kvm_vcpu *vcpu, unsigned long target_mode, in __vcpu_write_spsr()
58 static void __vcpu_write_spsr_abt(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_abt()
66 static void __vcpu_write_spsr_und(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_und()
91 static void enter_exception64(struct kvm_vcpu *vcpu, unsigned long target_mode, in enter_exception64()
192 static unsigned long get_except32_cpsr(struct kvm_vcpu *vcpu, u32 mode) in get_except32_cpsr()
286 static void enter_exception32(struct kvm_vcpu *vcpu, u32 mode, u32 vect_offset) in enter_exception32()
319 static void kvm_inject_exception(struct kvm_vcpu *vcpu) in kvm_inject_exception()
365 void __kvm_adjust_pc(struct kvm_vcpu *vcpu) in __kvm_adjust_pc()
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c36 static void nested_svm_inject_npf_exit(struct kvm_vcpu *vcpu, in nested_svm_inject_npf_exit()
317 static bool nested_vmcb_check_save(struct kvm_vcpu *vcpu) in nested_vmcb_check_save()
447 struct kvm_vcpu *vcpu = &svm->vcpu; in nested_save_pending_event_to_vmcb12() local
544 struct kvm_vcpu *vcpu = &svm->vcpu; in nested_vmcb02_prepare_save() local
641 struct kvm_vcpu *vcpu = &svm->vcpu; in nested_vmcb02_prepare_control() local
839 int nested_svm_vmrun(struct kvm_vcpu *vcpu) in nested_svm_vmrun()
971 struct kvm_vcpu *vcpu = &svm->vcpu; in nested_svm_vmexit() local
1231 void svm_leave_nested(struct kvm_vcpu *vcpu) in svm_leave_nested()
1501 struct kvm_vcpu *vcpu = &svm->vcpu; in nested_svm_exit_special() local
1580 static int svm_get_nested_state(struct kvm_vcpu *vcpu, in svm_get_nested_state()
[all …]

12345678910>>...16