Lines Matching refs:nr_pirqs
157 uint32_t nr_pirqs; member
214 assert(p->u.pirq < s->nr_pirqs); in xen_evtchn_post_load()
343 s->nr_pirqs = kvm_xen_get_evtchn_max_pirq(); in xen_evtchn_create()
345 s->nr_pirq_inuse_words = DIV_ROUND_UP(s->nr_pirqs, 64); in xen_evtchn_create()
347 s->pirq = g_new0(struct pirq_info, s->nr_pirqs); in xen_evtchn_create()
1271 if (pirq->pirq >= s->nr_pirqs) { in xen_evtchn_bind_pirq_op()
1575 for (pirq = s->nr_pirqs - 1; pirq >= IOAPIC_NUM_PINS; pirq--) { in allocate_pirq()
1662 for (pirq = 0; pirq < s->nr_pirqs; pirq++) { in do_remove_pci_vector()
1723 if (!pirq || pirq >= s->nr_pirqs || !pirq_inuse(s, pirq) || in xen_evtchn_snoop_msi()
1755 if (!pirq || pirq >= s->nr_pirqs) { in xen_evtchn_translate_pirq_msi()
1802 if (!pirq || pirq >= s->nr_pirqs) { in xen_evtchn_deliver_pirq_msi()
1846 } else if (pirq > s->nr_pirqs) { in xen_physdev_map_pirq()
1883 if (pirq < 0 || pirq >= s->nr_pirqs) { in xen_physdev_unmap_pirq()