Searched refs:irqchip_in_kernel (Results 1 – 12 of 12) sorted by relevance
220 if (likely(irqchip_in_kernel(vcpu->kvm))) { in kvm_pmu_update_state()233 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_pmu_should_notify_user()450 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()484 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()541 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_set_attr()578 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
64 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()459 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()519 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()585 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_hwstate()605 if (timer->enabled && irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_reset()849 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()910 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_timer_set_attr()
276 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) { in kvm_arch_vcpu_create()315 if (vcpu->arch.has_run_once && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_free()564 if (likely(irqchip_in_kernel(kvm))) { in kvm_vcpu_first_run_init()836 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()898 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()913 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()928 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
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
2072 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
85 if (irqchip_in_kernel(kvm)) in kvm_vgic_create()247 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()419 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
108 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
279 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
3243 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()3705 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()4292 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()4320 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()4419 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()8760 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_init()8778 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arch_vcpu_init()
365 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
65 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()