Searched refs:its_vm (Results 1 – 8 of 8) sorted by relevance
249 if (dist->its_vm.vpes) in vgic_v4_init()254 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()256 if (!dist->its_vm.vpes) in vgic_v4_init()267 kfree(dist->its_vm.vpes); in vgic_v4_init()268 dist->its_vm.nr_vpes = 0; in vgic_v4_init()269 dist->its_vm.vpes = NULL; in vgic_v4_init()317 struct its_vm *its_vm = &kvm->arch.vgic.its_vm; in vgic_v4_teardown() local320 if (!its_vm->vpes) in vgic_v4_teardown()332 kfree(its_vm->vpes); in vgic_v4_teardown()333 its_vm->nr_vpes = 0; in vgic_v4_teardown()[all …]
359 for (i = 0; i < dist->its_vm.nr_vpes; i++) in unmap_all_vpes()360 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()368 for (i = 0; i < dist->its_vm.nr_vpes; i++) in map_all_vpes()370 dist->its_vm.vpes[i]->irq)); in map_all_vpes()
1360 if (vcpu->arch.vgic_cpu.vgic_v3.its_vpe.its_vm) in vgic_its_invall()
19 struct its_vm { struct34 struct its_vm *its_vm; argument95 struct its_vm *vm;131 int its_alloc_vcpu_irqs(struct its_vm *vm);132 void its_free_vcpu_irqs(struct its_vm *vm);
157 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs()173 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()201 static void its_free_sgi_irqs(struct its_vm *vm) in its_free_sgi_irqs()220 void its_free_vcpu_irqs(struct its_vm *vm) in its_free_vcpu_irqs()
152 struct its_vm *vm;212 static u16 get_its_list(struct its_vm *vm) in get_its_list()1316 desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm); in its_send_vmovp()1323 if (!require_its_list_vmovp(vpe->its_vm, its)) in its_send_vmovp()1758 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm()1791 static void its_unmap_vm(struct its_node *its, struct its_vm *vm) in its_unmap_vm()3843 val = virt_to_phys(page_address(vpe->its_vm->vprop_page)) & in its_vpe_schedule()3888 if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) in its_vpe_invall()4446 struct its_vm *vm = domain->host_data; in its_vpe_irq_domain_free()4456 BUG_ON(vm != vpe->its_vm); in its_vpe_irq_domain_free()[all …]
294 struct its_vm its_vm; member
215 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()
Completed in 27 milliseconds