Lines Matching full:vpes
244 if (dist->its_vm.vpes) in vgic_v4_init()
249 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
251 if (!dist->its_vm.vpes) in vgic_v4_init()
257 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
262 kfree(dist->its_vm.vpes); in vgic_v4_init()
264 dist->its_vm.vpes = NULL; in vgic_v4_init()
269 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
291 * Trick: adjust the number of vpes so we know in vgic_v4_init()
316 if (!its_vm->vpes) in vgic_v4_teardown()
321 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
328 kfree(its_vm->vpes); in vgic_v4_teardown()
330 its_vm->vpes = NULL; in vgic_v4_teardown()