Lines Matching refs:nr_vioapics
52 for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) in addr_vioapic()
69 for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) in gsi_vioapic()
506 for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) in vioapic_update_EOI()
582 d->arch.hvm_domain.nr_vioapics != 1 ) in ioapic_save()
598 d->arch.hvm_domain.nr_vioapics != 1 ) in ioapic_load()
612 ASSERT(!d->arch.hvm_domain.nr_vioapics); in vioapic_reset()
616 for ( i = 0; i < d->arch.hvm_domain.nr_vioapics; i++ ) in vioapic_reset()
643 static void vioapic_free(const struct domain *d, unsigned int nr_vioapics) in vioapic_free() argument
647 for ( i = 0; i < nr_vioapics; i++) in vioapic_free()
654 unsigned int i, nr_vioapics, nr_gsis = 0; in vioapic_init() local
658 ASSERT(!d->arch.hvm_domain.nr_vioapics); in vioapic_init()
662 nr_vioapics = is_hardware_domain(d) ? nr_ioapics : 1; in vioapic_init()
666 xzalloc_array(struct hvm_vioapic *, nr_vioapics)) == NULL) ) in vioapic_init()
669 for ( i = 0; i < nr_vioapics; i++ ) in vioapic_init()
687 vioapic_free(d, nr_vioapics); in vioapic_init()
702 d->arch.hvm_domain.nr_vioapics = nr_vioapics; in vioapic_init()
714 ASSERT(!d->arch.hvm_domain.nr_vioapics); in vioapic_deinit()
718 vioapic_free(d, d->arch.hvm_domain.nr_vioapics); in vioapic_deinit()