Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/kvm/
Dirq.h14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
/linux-6.1.9/arch/powerpc/kvm/
Dirq.h7 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dpowerpc.c2171 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-init.c77 if (irqchip_in_kernel(kvm)) in kvm_vgic_create()
222 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vgic_vcpu_init()
448 if (!irqchip_in_kernel(kvm)) in kvm_vgic_map_resources()
Dvgic.c947 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_vgic_vmcr_sync()
/linux-6.1.9/arch/arm64/kvm/
Darch_timer.c165 unlikely(!irqchip_in_kernel(kvm)); in userspace_irqchip()
580 if (irqchip_in_kernel(vcpu->kvm)) in kvm_timer_vcpu_load_gic()
653 if (likely(irqchip_in_kernel(vcpu->kvm))) in kvm_timer_should_notify_user()
727 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_timer_sync_user()
751 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_timer_vcpu_reset()
1256 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_timer_enable()
1332 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()
896 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_enable()
918 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arm_pmu_v3_init()
1028 if (!irqchip_in_kernel(kvm)) in kvm_arm_pmu_v3_set_attr()
1123 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_arm_pmu_v3_get_attr()
Darm.c314 if (irqchip_in_kernel(kvm) && vgic_initialized(kvm)) in kvm_arch_vcpu_precreate()
363 if (vcpu_has_run_once(vcpu) && unlikely(!irqchip_in_kernel(vcpu->kvm))) in kvm_arch_vcpu_destroy()
554 if (likely(irqchip_in_kernel(kvm))) { in kvm_arch_vcpu_run_pid_change()
572 if (!irqchip_in_kernel(kvm)) { in kvm_arch_vcpu_run_pid_change()
1007 if (unlikely(!irqchip_in_kernel(vcpu->kvm))) { in kvm_arch_vcpu_ioctl_run()
1082 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
1097 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
1112 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
/linux-6.1.9/arch/x86/kvm/
Dirq.h90 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel() function
Dirq.c166 return resample ? irqchip_kernel(kvm) : irqchip_in_kernel(kvm); in kvm_arch_irqfd_allowed()
Dirq_comm.c272 return irqchip_in_kernel(kvm); in kvm_arch_can_set_irq_routing()
Dx86.c4872 if (!irqchip_in_kernel(vcpu->kvm)) { in kvm_vcpu_ioctl_interrupt()
5484 if (!irqchip_in_kernel(vcpu->kvm)) in kvm_vcpu_ioctl_enable_cap()
6150 if (!irqchip_in_kernel(kvm)) in kvm_vm_ioctl_irq_line()
6183 if (irqchip_in_kernel(kvm)) in kvm_vm_ioctl_enable_cap()
6688 if (irqchip_in_kernel(kvm)) in kvm_arch_vm_ioctl()
11839 if (!irqchip_in_kernel(vcpu->kvm) || kvm_vcpu_is_reset_bsp(vcpu)) in kvm_arch_vcpu_create()
11848 if (irqchip_in_kernel(vcpu->kvm)) { in kvm_arch_vcpu_create()
Dlapic.c232 WARN_ONCE(!irqchip_in_kernel(kvm), in kvm_recalculate_apic_map()
/linux-6.1.9/arch/x86/kvm/vmx/
Dposted_intr.c135 return irqchip_in_kernel(kvm) && enable_apicv && in vmx_can_use_vtd_pi()
Dvmx.c4564 if (!irqchip_in_kernel(kvm) || !enable_ipiv) in vmx_alloc_ipiv_pid_table()
/linux-6.1.9/virt/kvm/
Dirqchip.c53 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()
/linux-6.1.9/include/kvm/
Darm_vgic.h390 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) macro
/linux-6.1.9/arch/x86/kvm/svm/
Davic.c722 if (!enable_apicv || !irqchip_in_kernel(vcpu->kvm)) in avic_init_vcpu()