Lines Matching defs:vcpu
201 static struct kvm_io_device *vcpu_find_mmio_dev(struct kvm_vcpu *vcpu, in vcpu_find_mmio_dev()
211 static int handle_vm_error(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_vm_error()
218 static int handle_mmio(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_mmio()
254 static int handle_pal_call(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_pal_call()
269 static int handle_sal_call(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_sal_call()
290 static void vcpu_deliver_ipi(struct kvm_vcpu *vcpu, uint64_t dm, in vcpu_deliver_ipi()
328 static int handle_ipi(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_ipi()
360 struct kvm_vcpu *vcpu; member
366 struct kvm_vcpu *vcpu = p->vcpu; in vcpu_global_purge() local
382 static int handle_global_purge(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_global_purge()
411 static int handle_switch_rr6(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_switch_rr6()
416 int kvm_emulate_halt(struct kvm_vcpu *vcpu) in kvm_emulate_halt()
464 static int handle_vm_shutdown(struct kvm_vcpu *vcpu, in handle_vm_shutdown()
471 static int handle_external_interrupt(struct kvm_vcpu *vcpu, in handle_external_interrupt()
477 static int handle_vcpu_debug(struct kvm_vcpu *vcpu, in handle_vcpu_debug()
502 static uint32_t kvm_get_exit_reason(struct kvm_vcpu *vcpu) in kvm_get_exit_reason()
514 static int kvm_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) in kvm_handle_exit()
535 static int kvm_insert_vmm_mapping(struct kvm_vcpu *vcpu) in kvm_insert_vmm_mapping()
560 static void kvm_purge_vmm_mapping(struct kvm_vcpu *vcpu) in kvm_purge_vmm_mapping()
568 static int kvm_vcpu_pre_transition(struct kvm_vcpu *vcpu) in kvm_vcpu_pre_transition()
583 static void kvm_vcpu_post_transition(struct kvm_vcpu *vcpu) in kvm_vcpu_post_transition()
589 static int vti_vcpu_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in vti_vcpu_run()
608 static int __vcpu_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in __vcpu_run()
666 static void kvm_set_mmio_data(struct kvm_vcpu *vcpu) in kvm_set_mmio_data()
675 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in kvm_arch_vcpu_ioctl_run()
833 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
980 int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_set_sregs()
986 int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_get_sregs()
992 int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_translate()
1029 static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in vti_vcpu_load()
1033 static int vti_init_vpd(struct kvm_vcpu *vcpu) in vti_init_vpd()
1067 static int vti_create_vp(struct kvm_vcpu *vcpu) in vti_create_vp()
1086 static void init_ptce_info(struct kvm_vcpu *vcpu) in init_ptce_info()
1098 static void kvm_migrate_hlt_timer(struct kvm_vcpu *vcpu) in kvm_migrate_hlt_timer()
1108 struct kvm_vcpu *vcpu; in hlt_timer_fn() local
1128 int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_init()
1216 static int vti_vcpu_setup(struct kvm_vcpu *vcpu, int id) in vti_vcpu_setup()
1253 struct kvm_vcpu *vcpu; in kvm_arch_vcpu_create() local
1291 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_setup()
1296 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu()
1301 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu()
1306 int kvm_arch_vcpu_ioctl_debug_guest(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_debug_guest()
1356 void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put()
1360 void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in kvm_arch_vcpu_load()
1371 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
1424 void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_uninit()
1480 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
1693 struct kvm_vcpu *vcpu = (struct kvm_vcpu *)info; in vcpu_kick_intr() local
1698 void kvm_vcpu_kick(struct kvm_vcpu *vcpu) in kvm_vcpu_kick()
1711 int kvm_apic_set_irq(struct kvm_vcpu *vcpu, u8 vec, u8 trig) in kvm_apic_set_irq()
1767 int kvm_highest_pending_irq(struct kvm_vcpu *vcpu) in kvm_highest_pending_irq()
1779 int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu) in kvm_cpu_has_interrupt()
1786 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_cpu_has_pending_timer()
1796 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
1801 int kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_get_mpstate()
1810 static int vcpu_reset(struct kvm_vcpu *vcpu) in vcpu_reset()
1832 int kvm_arch_vcpu_ioctl_set_mpstate(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_set_mpstate()