Lines Matching refs:dist
189 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_configure_vsgis() local
198 if (dist->nassgireq) in vgic_v4_configure_vsgis()
241 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() local
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()
261 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
266 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
269 kfree(dist->its_vm.vpes); in vgic_v4_init()
270 dist->its_vm.nr_vpes = 0; 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()
300 dist->its_vm.nr_vpes = i; in vgic_v4_init()