Searched refs:irqchip_in_kernel (Results 1 – 17 of 17) 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
2129 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
76 if (irqchip_in_kernel(kvm)) in kvm_vgic_create()221 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()432 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
945 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_vgic_vmcr_sync()
164 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()564 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()637 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()712 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()736 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()1129 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()1204 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_timer_set_attr()
396 if (likely(irqchip_in_kernel(vcpu->kvm))) { in kvm_pmu_update_state()409 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_pmu_should_notify_user()841 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()866 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()939 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_set_attr()1020 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
263 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()306 if (vcpu->arch.has_run_once && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()552 if (likely(irqchip_in_kernel(kvm))) { in kvm_vcpu_first_run_init()857 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()920 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()935 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()950 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
154 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
91 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
269 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
4152 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()4670 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()5268 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()5296 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()5524 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()10007 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()10018 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arch_vcpu_create()
364 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
53 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()
83 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
566 if (!avic || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()
1314 if (irqchip_in_kernel(vcpu->kvm) && kvm_apicv_activated(vcpu->kvm)) in svm_create_vcpu()