Home
last modified time | relevance | path

Searched refs:irqchip_in_kernel (Results 1 – 15 of 15) sorted by relevance

/arch/s390/kvm/
Dirq.h14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
/arch/powerpc/kvm/
Dirq.h7 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dpowerpc.c2128 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
/arch/x86/kvm/
Dirq.c160 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
Dirq.h90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dirq_comm.c264 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
Dx86.c4550 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()
Dlapic.c196 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()
/arch/arm64/kvm/vgic/
Dvgic-init.c96 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()
/arch/arm64/kvm/
Darch_timer.c167 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()
Dpmu-emul.c415 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()
Darm.c431 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()
/arch/x86/kvm/vmx/
Dposted_intr.c83 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
/arch/x86/kvm/svm/
Davic.c565 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()
Dsvm.c1382 if (irqchip_in_kernel(vcpu->kvm) && kvm_apicv_activated(vcpu->kvm)) in svm_create_vcpu()