Home
last modified time | relevance | path

Searched refs:max_irr (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kvm/
Dlapic.c1145 int max_irr, max_isr; in kvm_lapic_sync_to_vapic() local
1154 max_irr = apic_find_highest_irr(apic); in kvm_lapic_sync_to_vapic()
1155 if (max_irr < 0) in kvm_lapic_sync_to_vapic()
1156 max_irr = 0; in kvm_lapic_sync_to_vapic()
1160 data = (tpr & 0xff) | ((max_isr & 0xf0) << 8) | (max_irr << 24); in kvm_lapic_sync_to_vapic()
Dsvm.c1554 int max_irr, tpr; in update_cr8_intercept() local
1561 max_irr = kvm_lapic_find_highest_irr(vcpu); in update_cr8_intercept()
1562 if (max_irr == -1) in update_cr8_intercept()
1567 if (tpr >= (max_irr & 0xf0)) in update_cr8_intercept()
Dvmx.c3183 int max_irr, tpr; in update_tpr_threshold() local
3189 ((max_irr = kvm_lapic_find_highest_irr(vcpu)) == -1)) { in update_tpr_threshold()
3195 vmcs_write32(TPR_THRESHOLD, (max_irr > tpr) ? tpr >> 4 : max_irr >> 4); in update_tpr_threshold()