Home
last modified time | relevance | path

Searched refs:curr_cpu (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Daffinity.c95 int possible, curr_cpu, i, ht; in init_real_cpu_mask() local
113 curr_cpu = cpumask_first(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
115 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
121 cpumask_clear_cpu(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
122 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
246 int curr_cpu; in per_cpu_affinity_get() local
268 for_each_cpu(curr_cpu, possible_cpumask) { in per_cpu_affinity_get()
269 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_get()
272 ret_cpu = curr_cpu; in per_cpu_affinity_get()
286 int curr_cpu; in per_cpu_affinity_put_max() local
[all …]
/linux-5.19.10/drivers/pci/controller/
Dpci-xgene-msi.c176 int curr_cpu; in xgene_msi_set_affinity() local
178 curr_cpu = hwirq_to_cpu(irqdata->hwirq); in xgene_msi_set_affinity()
179 if (curr_cpu == target_cpu) in xgene_msi_set_affinity()
Dpcie-iproc-msi.c211 int curr_cpu; in iproc_msi_irq_set_affinity() local
214 curr_cpu = hwirq_to_cpu(msi, data->hwirq); in iproc_msi_irq_set_affinity()
215 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
/linux-5.19.10/tools/perf/bench/
Dnuma.c57 int curr_cpu; member
936 g->threads[task_nr].curr_cpu = cpu; in update_curr_cpu()
967 node = numa_node_of_cpu(td->curr_cpu); in count_process_nodes()
1006 n = numa_node_of_cpu(td->curr_cpu); in count_node_processes()
1076 cpu = td->curr_cpu; in calc_convergence()
1312 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()
1414 td->curr_cpu = -1; in worker_process()
/linux-5.19.10/kernel/
Drelay.c575 unsigned int i, curr_cpu; in relay_late_setup_files() local
609 curr_cpu = get_cpu(); in relay_late_setup_files()
629 if (curr_cpu == i) { in relay_late_setup_files()
/linux-5.19.10/kernel/sched/
Dcore.c3224 int target_cpu, int curr_cpu) in migrate_swap() argument
3231 .src_cpu = curr_cpu, in migrate_swap()
9030 int curr_cpu = task_cpu(p); in migrate_task_to() local
9032 if (curr_cpu == target_cpu) in migrate_task_to()
9040 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
9041 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()