Home
last modified time | relevance | path

Searched refs:dest_map (Results 1 – 6 of 6) sorted by relevance

/arch/x86/kvm/
Dioapic.c99 bitmap_zero(ioapic->rtc_status.dest_map.map, KVM_MAX_VCPU_ID); in rtc_irq_eoi_tracking_reset()
114 struct dest_map *dest_map = &ioapic->rtc_status.dest_map; in __rtc_irq_eoi_tracking_restore_one() local
124 old_val = test_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one()
130 __set_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one()
131 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one()
134 __clear_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one()
165 struct dest_map *dest_map = &ioapic->rtc_status.dest_map; in rtc_irq_eoi() local
168 if (test_bit(vcpu->vcpu_id, dest_map->map) && in rtc_irq_eoi()
169 (vector == dest_map->vectors[vcpu->vcpu_id]) && in rtc_irq_eoi()
171 ioapic->rtc_status.dest_map.map))) { in rtc_irq_eoi()
[all …]
Dioapic.h40 struct dest_map { struct
54 struct dest_map dest_map; member
Dlapic.h71 struct dest_map;
99 struct dest_map *dest_map);
104 struct kvm_lapic_irq *irq, int *r, struct dest_map *dest_map);
Dirq.h112 struct dest_map *dest_map);
Dirq_comm.c46 struct kvm_lapic_irq *irq, struct dest_map *dest_map) in kvm_irq_delivery_to_apic() argument
53 if (kvm_irq_delivery_to_apic_fast(kvm, src, irq, &r, dest_map)) in kvm_irq_delivery_to_apic()
75 r += kvm_apic_set_irq(vcpu, irq, dest_map); in kvm_irq_delivery_to_apic()
97 r = kvm_apic_set_irq(lowest, irq, dest_map); in kvm_irq_delivery_to_apic()
Dlapic.c596 struct dest_map *dest_map);
599 struct dest_map *dest_map) in kvm_apic_set_irq() argument
604 irq->level, irq->trig_mode, dest_map); in kvm_apic_set_irq()
980 struct kvm_lapic_irq *irq, int *r, struct dest_map *dest_map) in kvm_irq_delivery_to_apic_fast() argument
995 *r = kvm_apic_set_irq(src->vcpu, irq, dest_map); in kvm_irq_delivery_to_apic_fast()
1008 *r += kvm_apic_set_irq(dst[i]->vcpu, irq, dest_map); in kvm_irq_delivery_to_apic_fast()
1064 struct dest_map *dest_map) in __apic_accept_irq() argument
1085 if (dest_map) { in __apic_accept_irq()
1086 __set_bit(vcpu->vcpu_id, dest_map->map); in __apic_accept_irq()
1087 dest_map->vectors[vcpu->vcpu_id] = vector; in __apic_accept_irq()