Searched refs:irqchip_in_kernel (Results 1 – 15 of 15) 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
2128 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
160 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
264 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
4550 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()5073 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()5709 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()5737 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()6111 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()10969 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()10978 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arch_vcpu_create()
196 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()
96 if (irqchip_in_kernel(kvm)) { in kvm_vgic_create()230 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()464 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
167 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()582 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()655 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()730 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()754 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()1262 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()1338 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()897 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()919 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()1026 if (!irqchip_in_kernel(kvm)) in kvm_arm_pmu_v3_set_attr()1113 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
431 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()490 if (vcpu_has_run_once(vcpu) && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()716 if (likely(irqchip_in_kernel(kvm))) { in kvm_arch_vcpu_run_pid_change()743 if (!irqchip_in_kernel(kvm)) { in kvm_arch_vcpu_run_pid_change()1169 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()1244 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1259 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()1274 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
83 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
565 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()
1382 if (irqchip_in_kernel(vcpu->kvm) && kvm_apicv_activated(vcpu->kvm)) in svm_create_vcpu()