Searched refs:irq_rt (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/virt/kvm/ |
A D | irqchip.c | 24 struct kvm_irq_routing_table *irq_rt; in kvm_irq_map_gsi() local 28 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_irq_map_gsi() 30 if (irq_rt && gsi < irq_rt->nr_rt_entries) { in kvm_irq_map_gsi() 31 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_irq_map_gsi() 42 struct kvm_irq_routing_table *irq_rt; in kvm_irq_map_chip_pin() local 44 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_irq_map_chip_pin() 45 return irq_rt->chip[irqchip][pin]; in kvm_irq_map_chip_pin()
|
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | posted_intr.c | 276 struct kvm_irq_routing_table *irq_rt; in vmx_pi_update_irte() local 286 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in vmx_pi_update_irte() 287 if (guest_irq >= irq_rt->nr_rt_entries || in vmx_pi_update_irte() 288 hlist_empty(&irq_rt->map[guest_irq])) { in vmx_pi_update_irte() 290 guest_irq, irq_rt->nr_rt_entries); in vmx_pi_update_irte() 294 hlist_for_each_entry(e, &irq_rt->map[guest_irq], link) { in vmx_pi_update_irte()
|
/linux-6.3-rc2/arch/x86/kvm/svm/ |
A D | avic.c | 863 struct kvm_irq_routing_table *irq_rt; in avic_pi_update_irte() local 874 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in avic_pi_update_irte() 876 if (guest_irq >= irq_rt->nr_rt_entries || in avic_pi_update_irte() 877 hlist_empty(&irq_rt->map[guest_irq])) { in avic_pi_update_irte() 879 guest_irq, irq_rt->nr_rt_entries); in avic_pi_update_irte() 883 hlist_for_each_entry(e, &irq_rt->map[guest_irq], link) { in avic_pi_update_irte()
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | hyperv.c | 540 struct kvm_irq_routing_table *irq_rt; in kvm_hv_irq_routing_update() local 544 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_hv_irq_routing_update() 547 for (gsi = 0; gsi < irq_rt->nr_rt_entries; gsi++) { in kvm_hv_irq_routing_update() 548 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_hv_irq_routing_update()
|
Completed in 13 milliseconds