Lines Matching full:vpes
251 if (dist->its_vm.vpes) in vgic_v4_init()
256 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
258 if (!dist->its_vm.vpes) in vgic_v4_init()
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
269 kfree(dist->its_vm.vpes); in vgic_v4_init()
271 dist->its_vm.vpes = NULL; in vgic_v4_init()
276 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
297 * Trick: adjust the number of vpes so we know in vgic_v4_init()
322 if (!its_vm->vpes) in vgic_v4_teardown()
327 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown()
334 kfree(its_vm->vpes); in vgic_v4_teardown()
336 its_vm->vpes = NULL; in vgic_v4_teardown()