Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_irq.c73 static u_char irq_counts[NIRQ_COUNTS]; variable
122 assert(irq_counts[irq] == 0 || irq_counts[irq] == IRQ_DISABLED); in pci_irq_reserve()
123 irq_counts[irq] = IRQ_DISABLED; in pci_irq_reserve()
132 assert(irq_counts[irq] != IRQ_DISABLED); in pci_irq_use()
133 irq_counts[irq]++; in pci_irq_use()
149 irq_counts[i] = 0; in pci_irq_init()
151 irq_counts[i] = IRQ_DISABLED; in pci_irq_init()
230 if (irq_counts[irq] == IRQ_DISABLED) in pirq_alloc_pin()
232 if (best_irq == -1 || irq_counts[irq] < best_count) { in pirq_alloc_pin()
234 best_count = irq_counts[irq]; in pirq_alloc_pin()
[all …]