Lines Matching full:allocated
13 unsigned int allocated; member
155 /* Find the best CPU which has the lowest number of managed IRQs allocated */
159 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
167 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
171 allocated = cm->managed_allocated; in matrix_find_best_cpu_managed()
180 * @replace: Replace an already allocated vector with a system
198 cm->allocated--; in irq_matrix_assign_system()
252 * This removes not allocated managed interrupts from the map. It does
268 /* Get managed bit which are not allocated */ in irq_matrix_remove_managed()
290 * @mapped_cpu: Pointer to store the CPU for which the irq was allocated
307 /* Get managed bit which are not allocated */ in irq_matrix_alloc_managed()
313 cm->allocated++; in irq_matrix_alloc_managed()
336 cm->allocated++; in irq_matrix_assign()
367 * interrupt was never in use and a real vector allocated, which undid the
381 * @mapped_cpu: Pointer to store the CPU for which the irq was allocated
404 cm->allocated++; in irq_matrix_alloc()
417 * irq_matrix_free - Free allocated interrupt in the matrix
435 cm->allocated--; in irq_matrix_free()
475 * irq_matrix_allocated - Get the number of allocated non-managed irqs on the local CPU
478 * This returns number of allocated non-managed interrupts.
484 return cm->allocated - cm->managed_allocated; in irq_matrix_allocated()
504 seq_printf(sf, "Total allocated: %6u\n", m->total_allocated); in irq_matrix_debug_show()
514 cm->managed_allocated, cm->allocated, in irq_matrix_debug_show()