Searched refs:irqchip_in_kernel (Results 1 – 18 of 18) sorted by relevance
61 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()115 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()170 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
52 if (irqchip_in_kernel(kvm)) in aia_create()
171 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()176 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
276 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
398 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()2873 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_create_lapic()
5173 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()5814 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()6506 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()6539 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()6759 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()7069 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()12257 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()
366 if (likely(irqchip_in_kernel(vcpu->kvm))) { in kvm_pmu_update_state()379 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_pmu_should_notify_user()829 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()851 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()997 if (!irqchip_in_kernel(kvm)) in kvm_arm_pmu_v3_set_attr()1090 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
210 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()668 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()718 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_nested_switch()867 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()934 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()971 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()1516 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()1564 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_timer_set_attr()
447 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()506 if (vcpu_has_run_once(vcpu) && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()817 if (likely(irqchip_in_kernel(kvm))) { in kvm_arch_vcpu_run_pid_change()851 if (!irqchip_in_kernel(kvm)) { in kvm_arch_vcpu_run_pid_change()1303 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()1377 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1389 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1401 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()2725 return irqchip_in_kernel(kvm); in kvm_arch_irqchip_in_kernel()
4804 irqchip_in_kernel(kvm) && in kvm_finalize_sys_regs()
94 if (irqchip_in_kernel(kvm)) { in kvm_vgic_create()258 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()533 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
925 if (unlikely(!irqchip_in_kernel(vcpu->kvm) || !vgic_initialized(vcpu->kvm))) { in kvm_vgic_load()939 if (unlikely(!irqchip_in_kernel(vcpu->kvm) || !vgic_initialized(vcpu->kvm))) { in kvm_vgic_put()
83 #define irqchip_in_kernel(k) ((k)->arch.aia.in_kernel) macro
137 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
4704 if (!irqchip_in_kernel(kvm) || !enable_ipiv) in vmx_alloc_ipiv_pid_table()
393 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
724 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()