Lines Matching refs:dist
190 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_configure_vsgis() local
197 if (dist->nassgireq) in vgic_v4_configure_vsgis()
217 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() local
224 if (dist->its_vm.vpes) in vgic_v4_init()
229 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
231 if (!dist->its_vm.vpes) in vgic_v4_init()
234 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
237 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
239 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
242 kfree(dist->its_vm.vpes); in vgic_v4_init()
243 dist->its_vm.nr_vpes = 0; in vgic_v4_init()
244 dist->its_vm.vpes = NULL; in vgic_v4_init()
249 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
274 dist->its_vm.nr_vpes = i; in vgic_v4_init()