Lines Matching refs:ioapic_entries
202 struct IO_APIC_route_entry **ioapic_entries; in alloc_ioapic_entries() local
204 ioapic_entries = xmalloc_array(struct IO_APIC_route_entry *, nr_ioapics); in alloc_ioapic_entries()
205 if (!ioapic_entries) in alloc_ioapic_entries()
209 ioapic_entries[apic] = in alloc_ioapic_entries()
212 if (!ioapic_entries[apic] && nr_ioapic_entries[apic]) in alloc_ioapic_entries()
216 return ioapic_entries; in alloc_ioapic_entries()
220 xfree(ioapic_entries[apic]); in alloc_ioapic_entries()
221 xfree(ioapic_entries); in alloc_ioapic_entries()
328 int save_IO_APIC_setup(struct IO_APIC_route_entry **ioapic_entries) in save_IO_APIC_setup() argument
332 if (!ioapic_entries) in save_IO_APIC_setup()
339 if (!ioapic_entries[apic]) in save_IO_APIC_setup()
343 ioapic_entries[apic][pin] = __ioapic_read_entry(apic, pin, 1); in save_IO_APIC_setup()
352 void mask_IO_APIC_setup(struct IO_APIC_route_entry **ioapic_entries) in mask_IO_APIC_setup() argument
356 if (!ioapic_entries) in mask_IO_APIC_setup()
363 if (!ioapic_entries[apic]) in mask_IO_APIC_setup()
369 entry = ioapic_entries[apic][pin]; in mask_IO_APIC_setup()
382 int restore_IO_APIC_setup(struct IO_APIC_route_entry **ioapic_entries) in restore_IO_APIC_setup() argument
386 if (!ioapic_entries) in restore_IO_APIC_setup()
393 if (!ioapic_entries[apic]) in restore_IO_APIC_setup()
397 ioapic_write_entry(apic, pin, 1, ioapic_entries[apic][pin]); in restore_IO_APIC_setup()
403 void free_ioapic_entries(struct IO_APIC_route_entry **ioapic_entries) in free_ioapic_entries() argument
408 xfree(ioapic_entries[apic]); in free_ioapic_entries()
410 xfree(ioapic_entries); in free_ioapic_entries()