Lines Matching refs:its_vm
251 if (dist->its_vm.vpes)
256 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes),
258 if (!dist->its_vm.vpes)
261 dist->its_vm.nr_vpes = nr_vcpus;
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe;
266 ret = its_alloc_vcpu_irqs(&dist->its_vm);
269 kfree(dist->its_vm.vpes);
270 dist->its_vm.nr_vpes = 0;
271 dist->its_vm.vpes = NULL;
276 int irq = dist->its_vm.vpes[i]->irq;
300 dist->its_vm.nr_vpes = i;
317 struct its_vm *its_vm = &kvm->arch.vgic.its_vm;
322 if (!its_vm->vpes)
325 for (i = 0; i < its_vm->nr_vpes; i++) {
327 int irq = its_vm->vpes[i]->irq;
333 its_free_vcpu_irqs(its_vm);
334 kfree(its_vm->vpes);
335 its_vm->nr_vpes = 0;
336 its_vm->vpes = NULL;
446 .vm = &kvm->arch.vgic.its_vm,