Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/kvm/
Dirq.h14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dirq.h7 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dpowerpc.c2129 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-init.c76 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()
Dvgic.c945 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_vgic_vmcr_sync()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darch_timer.c164 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()
Dpmu-emul.c396 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()
Darm.c263 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()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dirq.c154 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
Dirq.h91 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dirq_comm.c269 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
Dx86.c4152 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()
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h364 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
/kernel/linux/linux-5.10/virt/kvm/
Dirqchip.c53 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dposted_intr.c83 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Davic.c566 if (!avic || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()
Dsvm.c1314 if (irqchip_in_kernel(vcpu->kvm) && kvm_apicv_activated(vcpu->kvm)) in svm_create_vcpu()