Searched refs:irqchip_in_kernel (Results 1 – 18 of 18) sorted by relevance
14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
7 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
2171 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
77 if (irqchip_in_kernel(kvm)) in kvm_vgic_create()222 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()448 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
947 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_vgic_vmcr_sync()
165 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()580 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()653 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()727 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()751 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()1256 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()1332 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_timer_set_attr()
415 if (likely(irqchip_in_kernel(vcpu->kvm))) { in kvm_pmu_update_state()428 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_pmu_should_notify_user()896 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()918 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()1028 if (!irqchip_in_kernel(kvm)) in kvm_arm_pmu_v3_set_attr()1123 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
314 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()363 if (vcpu_has_run_once(vcpu) && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()554 if (likely(irqchip_in_kernel(kvm))) { in kvm_arch_vcpu_run_pid_change()572 if (!irqchip_in_kernel(kvm)) { in kvm_arch_vcpu_run_pid_change()1007 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()1082 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1097 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1112 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
166 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
272 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
4872 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()5484 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()6150 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()6183 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()6688 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()11839 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()11848 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arch_vcpu_create()
232 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()
135 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
4564 if (!irqchip_in_kernel(kvm) || !enable_ipiv) in vmx_alloc_ipiv_pid_table()
53 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()
390 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
722 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()