Home
last modified time | relevance | path

Searched refs:for_injection (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/arch/x86/kvm/vmx/
H A Dx86_ops.h35 int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection);
94 int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection);
95 int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection);
H A Dvmx.c5079 int vmx_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_nmi_allowed() argument
5085 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
5106 int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_interrupt_allowed() argument
5115 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
8298 int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in vmx_smi_allowed() argument
H A Dnested.c4067 static bool vmx_has_nested_events(struct kvm_vcpu *vcpu, bool for_injection) in vmx_has_nested_events() argument
4083 if (for_injection) in vmx_has_nested_events()
/linux-6.15/arch/x86/include/asm/
H A Dkvm_host.h1753 int (*interrupt_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1754 int (*nmi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1851 int (*smi_allowed)(struct kvm_vcpu *vcpu, bool for_injection);
1896 bool (*has_events)(struct kvm_vcpu *vcpu, bool for_injection);
/linux-6.15/arch/x86/kvm/svm/
H A Dsvm.c3911 static int svm_nmi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_nmi_allowed() argument
3921 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(svm)) in svm_nmi_allowed()
3952 static int svm_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_interrupt_allowed() argument
3966 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(svm)) in svm_interrupt_allowed()
4783 static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) in svm_smi_allowed() argument
4793 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_smi(svm)) in svm_smi_allowed()