Searched refs:best_cpu (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | irq_affinity.c | 22 int best_cpu = -1; local 28 best_cpu = cpu; 31 if (best_cpu < 0) 32 best_cpu = cpu; 33 if (pool->irqs_per_cpu[cpu] < pool->irqs_per_cpu[best_cpu]) 34 best_cpu = cpu; 36 if (best_cpu == -1) { 40 best_cpu = cpumask_first(cpu_online_mask); 42 pool->irqs_per_cpu[best_cpu]++; 43 return best_cpu; [all...] |
/linux-master/kernel/sched/ |
H A D | cpudeadline.c | 149 int best_cpu = cpudl_maximum(cp); local 151 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); 153 if (cpumask_test_cpu(best_cpu, &p->cpus_mask) && 156 cpumask_set_cpu(best_cpu, later_mask);
|
H A D | fair.c | 1987 int best_cpu; member in struct:task_numa_env 2087 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { 2093 if (cpu == env->best_cpu || !idle_cpu(cpu) || 2110 * Clear previous best_cpu/rq numa-migrate flag, since task now 2113 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { 2114 rq = cpu_rq(env->best_cpu); 2125 env->best_cpu = env->dst_cpu; 2325 if (!idle_cpu(cpu) && env->best_cpu >= 0 && 2326 idle_cpu(env->best_cpu)) { 7448 int cpu, best_cpu = -1; local [all...] |
H A D | rt.c | 1879 int best_cpu; local 1891 best_cpu = cpumask_any_and_distribute(lowest_mask, 1893 if (best_cpu < nr_cpu_ids) { 1895 return best_cpu;
|
H A D | deadline.c | 2265 int best_cpu; local 2277 best_cpu = cpumask_any_and_distribute(later_mask, 2285 if (best_cpu < nr_cpu_ids) { 2287 return best_cpu;
|
/linux-master/kernel/irq/ |
H A D | matrix.c | 138 unsigned int cpu, best_cpu, maxavl = 0; local 141 best_cpu = UINT_MAX; 149 best_cpu = cpu; 152 return best_cpu; 159 unsigned int cpu, best_cpu, allocated = UINT_MAX; local 162 best_cpu = UINT_MAX; 170 best_cpu = cpu; 173 return best_cpu;
|
/linux-master/drivers/xen/events/ |
H A D | events_base.c | 1811 unsigned int cpu, best_cpu = UINT_MAX, minch = UINT_MAX; local 1818 best_cpu = cpu; 1826 if (best_cpu == UINT_MAX) 1829 return best_cpu;
|
Completed in 164 milliseconds