Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dirq_affinity.c10 pool->irqs_per_cpu[cpu]--; in cpu_put()
15 pool->irqs_per_cpu[cpu]++; in cpu_get()
27 if (!pool->irqs_per_cpu[cpu]) { in cpu_get_least_loaded()
33 if (pool->irqs_per_cpu[cpu] < pool->irqs_per_cpu[best_cpu]) in cpu_get_least_loaded()
42 pool->irqs_per_cpu[best_cpu]++; in cpu_get_least_loaded()
57 if (pool->irqs_per_cpu) { in irq_pool_request_irq()
168 if (pool->irqs_per_cpu) in mlx5_irq_affinity_irq_release()
Dpci_irq.h24 u16 *irqs_per_cpu; member
Dpci_irq.c635 kfree(pool->irqs_per_cpu); in irq_pool_free()
684 table->sf_comp_pool->irqs_per_cpu = kcalloc(nr_cpu_ids, sizeof(u16), GFP_KERNEL); in irq_pools_init()
685 if (!table->sf_comp_pool->irqs_per_cpu) { in irq_pools_init()
/Linux-v6.6/tools/power/x86/turbostat/
Dturbostat.c576 int *irqs_per_cpu; /* indexed by cpu_num */ variable
2155 t->irq_count = irqs_per_cpu[cpu]; in get_counters()
2815 free(irqs_per_cpu); in free_all_buffers()
3135 irqs_per_cpu[cpu_number] = 0; in snapshot_proc_interrupts()
3157 irqs_per_cpu[cpu_number] += irq_count; in snapshot_proc_interrupts()
6091 irqs_per_cpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_irq_buffers()
6092 if (irqs_per_cpu == NULL) in allocate_irq_buffers()