Lines Matching refs:free
727 int count, free = -1; in ir_parse_one_hpet_scope() local
748 else if (ir_hpet[count].iommu == NULL && free == -1) in ir_parse_one_hpet_scope()
749 free = count; in ir_parse_one_hpet_scope()
751 if (free == -1) { in ir_parse_one_hpet_scope()
756 ir_hpet[free].iommu = iommu; in ir_parse_one_hpet_scope()
757 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
758 ir_hpet[free].bus = bus; in ir_parse_one_hpet_scope()
759 ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_hpet_scope()
772 int count, free = -1; in ir_parse_one_ioapic_scope() local
793 else if (ir_ioapic[count].iommu == NULL && free == -1) in ir_parse_one_ioapic_scope()
794 free = count; in ir_parse_one_ioapic_scope()
796 if (free == -1) { in ir_parse_one_ioapic_scope()
801 ir_ioapic[free].bus = bus; in ir_parse_one_ioapic_scope()
802 ir_ioapic[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_ioapic_scope()
803 ir_ioapic[free].iommu = iommu; in ir_parse_one_ioapic_scope()
804 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()