Home
last modified time | relevance | path

Searched refs:its_vm (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/kvm/vgic/
Dvgic-v4.c248 if (dist->its_vm.vpes) in vgic_v4_init()
253 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
255 if (!dist->its_vm.vpes) in vgic_v4_init()
258 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
261 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
263 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
266 kfree(dist->its_vm.vpes); in vgic_v4_init()
267 dist->its_vm.nr_vpes = 0; in vgic_v4_init()
268 dist->its_vm.vpes = NULL; in vgic_v4_init()
273 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init()
[all …]
Dvgic-v3.c358 for (i = 0; i < dist->its_vm.nr_vpes; i++) in unmap_all_vpes()
359 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()
367 for (i = 0; i < dist->its_vm.nr_vpes; i++) in map_all_vpes()
369 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
Dvgic-its.c1337 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_cmd_handle_invall()
/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c215 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()
239 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_restore_state()
303 cpu_if->its_vpe.its_vm) in __vgic_v3_activate_traps()
329 cpu_if->its_vpe.its_vm) in __vgic_v3_deactivate_traps()