Home
last modified time | relevance | path

Searched refs:vpes (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v4.c124 if (dist->its_vm.vpes) in vgic_v4_init()
129 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
131 if (!dist->its_vm.vpes) in vgic_v4_init()
137 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
142 kfree(dist->its_vm.vpes); in vgic_v4_init()
144 dist->its_vm.vpes = NULL; in vgic_v4_init()
149 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
189 if (!its_vm->vpes) in vgic_v4_teardown()
194 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
201 kfree(its_vm->vpes); in vgic_v4_teardown()
[all …]
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v4.c116 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
117 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs()
127 vm->vpes[i]->irq = vpe_base_irq + i; in its_alloc_vcpu_irqs()
142 irq_domain_free_irqs(vm->vpes[0]->irq, vm->nr_vpes); in its_free_vcpu_irqs()
Dirq-gic-v3-its.c160 struct its_vpe **vpes; member
1212 struct its_vpe *vpe = vm->vpes[i]; in its_map_vm()
1240 its_send_vmapp(its, vm->vpes[i], false); in its_unmap_vm()
2492 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
2501 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_unmap_locked()
2525 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_map_locked()
2526 its_vpe_db_proxy_unmap_locked(vpe_proxy.vpes[vpe_proxy.next_victim]); in its_vpe_db_proxy_map_locked()
2529 vpe_proxy.vpes[vpe_proxy.next_victim] = vpe; in its_vpe_db_proxy_map_locked()
2890 vm->vpes[i]->vpe_db_lpi = base + i; in its_vpe_irq_domain_alloc()
2891 err = its_vpe_init(vm->vpes[i]); in its_vpe_irq_domain_alloc()
[all …]
/Linux-v4.19/include/linux/irqchip/
Darm-gic-v4.h34 struct its_vpe **vpes; member