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()
236 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() local
243 if (dist->its_vm.vpes) in vgic_v4_init()
248 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
250 if (!dist->its_vm.vpes) in vgic_v4_init()
253 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
256 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
258 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
261 kfree(dist->its_vm.vpes); in vgic_v4_init()
262 dist->its_vm.nr_vpes = 0; in vgic_v4_init()
263 dist->its_vm.vpes = NULL; in vgic_v4_init()
268 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
293 dist->its_vm.nr_vpes = i; in vgic_v4_init()