Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_builtin.c298 static struct kvmppc_irq_map *get_irqmap(struct kvmppc_passthru_irqmap *pimap, in get_irqmap() argument
313 for (i = 0; i < pimap->n_mapped; i++) { in get_irqmap()
314 if (xisr == pimap->mapped[i].r_hwirq) { in get_irqmap()
320 return &pimap->mapped[i]; in get_irqmap()
340 struct kvmppc_passthru_irqmap *pimap; in kvmppc_check_passthru() local
347 pimap = kvmppc_get_passthru_irqmap(vcpu->kvm); in kvmppc_check_passthru()
348 if (!pimap) in kvmppc_check_passthru()
350 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
357 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
A 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()
A Dbook3s_hv.c5594 kfree(kvm->arch.pimap); in kvmppc_free_pimap()
5620 pimap = kvm->arch.pimap; in kvmppc_set_passthru_irq()
5621 if (pimap == NULL) { in kvmppc_set_passthru_irq()
5624 if (pimap == NULL) { in kvmppc_set_passthru_irq()
5628 kvm->arch.pimap = pimap; in kvmppc_set_passthru_irq()
5664 irq_map = &pimap->mapped[i]; in kvmppc_set_passthru_irq()
5683 if (i == pimap->n_mapped) in kvmppc_set_passthru_irq()
5684 pimap->n_mapped++; in kvmppc_set_passthru_irq()
5712 if (!kvm->arch.pimap) in kvmppc_clr_passthru_irq()
5715 pimap = kvm->arch.pimap; in kvmppc_clr_passthru_irq()
[all …]
A Dbook3s_hv_rm_xics.c847 struct kvmppc_passthru_irqmap *pimap, in kvmppc_deliver_irq_passthru() argument
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_ppc.h604 return kvm->arch.pimap; in kvmppc_get_passthru_irqmap()
626 struct kvmppc_passthru_irqmap *pimap,
A Dkvm_host.h327 struct kvmppc_passthru_irqmap *pimap; member

Completed in 24 milliseconds