Home
last modified time | relevance | path

Searched refs:pimap (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c345 static struct kvmppc_irq_map *get_irqmap(struct kvmppc_passthru_irqmap *pimap, in get_irqmap() argument
360 for (i = 0; i < pimap->n_mapped; i++) { in get_irqmap()
361 if (xisr == pimap->mapped[i].r_hwirq) { in get_irqmap()
367 return &pimap->mapped[i]; in get_irqmap()
387 struct kvmppc_passthru_irqmap *pimap; in kvmppc_check_passthru() local
394 pimap = kvmppc_get_passthru_irqmap(vcpu->kvm); in kvmppc_check_passthru()
395 if (!pimap) in kvmppc_check_passthru()
397 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
404 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
Dbook3s_xics.c926 struct kvmppc_passthru_irqmap *pimap) in xics_debugfs_irqmap() argument
930 if (!pimap) in xics_debugfs_irqmap()
933 pimap->n_mapped); in xics_debugfs_irqmap()
934 for (i = 0; i < pimap->n_mapped; i++) { in xics_debugfs_irqmap()
936 pimap->mapped[i].r_hwirq, pimap->mapped[i].v_hwirq); in xics_debugfs_irqmap()
960 xics_debugfs_irqmap(m, kvm->arch.pimap); in xics_debug_show()
Dbook3s_hv.c5140 kfree(kvm->arch.pimap); in kvmppc_free_pimap()
5152 struct kvmppc_passthru_irqmap *pimap; in kvmppc_set_passthru_irq() local
5165 pimap = kvm->arch.pimap; in kvmppc_set_passthru_irq()
5166 if (pimap == NULL) { in kvmppc_set_passthru_irq()
5168 pimap = kvmppc_alloc_pimap(); in kvmppc_set_passthru_irq()
5169 if (pimap == NULL) { in kvmppc_set_passthru_irq()
5173 kvm->arch.pimap = pimap; in kvmppc_set_passthru_irq()
5194 for (i = 0; i < pimap->n_mapped; i++) { in kvmppc_set_passthru_irq()
5195 if (guest_gsi == pimap->mapped[i].v_hwirq) { in kvmppc_set_passthru_irq()
5196 if (pimap->mapped[i].r_hwirq) { in kvmppc_set_passthru_irq()
[all …]
Dbook3s_hv_rm_xics.c856 struct kvmppc_passthru_irqmap *pimap, in kvmppc_deliver_irq_passthru() argument
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_ppc.h598 return kvm->arch.pimap; in kvmppc_get_passthru_irqmap()
619 struct kvmppc_passthru_irqmap *pimap,
Dkvm_host.h335 struct kvmppc_passthru_irqmap *pimap; member