Lines Matching refs:its_vm
224 if (dist->its_vm.vpes)
229 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes),
231 if (!dist->its_vm.vpes)
234 dist->its_vm.nr_vpes = nr_vcpus;
237 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe;
239 ret = its_alloc_vcpu_irqs(&dist->its_vm);
242 kfree(dist->its_vm.vpes);
243 dist->its_vm.nr_vpes = 0;
244 dist->its_vm.vpes = NULL;
249 int irq = dist->its_vm.vpes[i]->irq;
274 dist->its_vm.nr_vpes = i;
293 struct its_vm *its_vm = &kvm->arch.vgic.its_vm;
296 if (!its_vm->vpes)
299 for (i = 0; i < its_vm->nr_vpes; i++) {
301 int irq = its_vm->vpes[i]->irq;
307 its_free_vcpu_irqs(its_vm);
308 kfree(its_vm->vpes);
309 its_vm->nr_vpes = 0;
310 its_vm->vpes = NULL;
404 .vm = &kvm->arch.vgic.its_vm,