Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/
Dpmu.c220 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()
Darch_timer.c64 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()
Darm.c276 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()
/Linux-v4.19/arch/s390/kvm/
Dirq.h14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
/Linux-v4.19/arch/powerpc/kvm/
Dirq.h7 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dpowerpc.c2072 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-init.c85 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()
/Linux-v4.19/arch/x86/kvm/
Dirq.h108 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dirq_comm.c279 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
Dx86.c3243 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()
/Linux-v4.19/include/kvm/
Darm_vgic.h365 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
/Linux-v4.19/virt/kvm/
Dirqchip.c65 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()