Lines Matching refs:assigned_cpu

64 	irq_assignment*		assigned_cpu;  member
150 sVectors[i].assigned_cpu != NULL in dump_int_load()
151 ? sVectors[i].assigned_cpu->load / 10 : 0); in dump_int_load()
154 ASSERT(sVectors[i].assigned_cpu != NULL); in dump_int_load()
156 if (sVectors[i].assigned_cpu->cpu != -1) in dump_int_load()
157 kprintf(", cpu %" B_PRId32, sVectors[i].assigned_cpu->cpu); in dump_int_load()
261 atomic_add(&sVectors[i].assigned_cpu->load, sVectors[i].load - oldLoad); in update_int_load()
470 && sVectors[vector].assigned_cpu->cpu == -1) { in install_io_interrupt_handler()
474 sVectors[vector].assigned_cpu->cpu = cpuID; in install_io_interrupt_handler()
478 atomic_add(&sVectors[vector].assigned_cpu->handlers_count, 1); in install_io_interrupt_handler()
479 list_add_item(&cpu->irqs, sVectors[vector].assigned_cpu); in install_io_interrupt_handler()
569 && sVectors[vector].assigned_cpu != NULL in remove_io_interrupt_handler()
570 && sVectors[vector].assigned_cpu->handlers_count > 0) { in remove_io_interrupt_handler()
573 = atomic_add(&sVectors[vector].assigned_cpu->handlers_count, -1); in remove_io_interrupt_handler()
583 oldCPU = sVectors[vector].assigned_cpu->cpu; in remove_io_interrupt_handler()
589 } while (sVectors[vector].assigned_cpu->cpu != oldCPU); in remove_io_interrupt_handler()
591 sVectors[vector].assigned_cpu->cpu = -1; in remove_io_interrupt_handler()
592 list_remove_item(&cpu->irqs, sVectors[vector].assigned_cpu); in remove_io_interrupt_handler()
627 sVectors[startVector + i].assigned_cpu in reserve_io_interrupt_vectors()
676 sVectors[vector + i].assigned_cpu = &sVectorCPUAssignments[vector]; in allocate_io_interrupt_vectors()
716 if (vector.assigned_cpu != NULL && vector.assigned_cpu->cpu != -1) { in free_io_interrupt_vectors()
722 vector.assigned_cpu = NULL; in free_io_interrupt_vectors()
732 int32 oldCPU = sVectors[vector].assigned_cpu->cpu; in assign_io_interrupt_to_cpu()
744 sVectors[vector].assigned_cpu->cpu = -1; in assign_io_interrupt_to_cpu()
745 list_remove_item(&cpu->irqs, sVectors[vector].assigned_cpu); in assign_io_interrupt_to_cpu()
749 sVectors[vector].assigned_cpu->cpu = newCPU; in assign_io_interrupt_to_cpu()
752 list_add_item(&cpu->irqs, sVectors[vector].assigned_cpu); in assign_io_interrupt_to_cpu()