Searched refs:curr_cpu (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 95 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() 248 int curr_cpu; in per_cpu_affinity_get() local 270 for_each_cpu(curr_cpu, possible_cpumask) { in per_cpu_affinity_get() 271 cntr = *per_cpu_ptr(comp_vect_affinity, curr_cpu); in per_cpu_affinity_get() 274 ret_cpu = curr_cpu; in per_cpu_affinity_get() 288 int curr_cpu; in per_cpu_affinity_put_max() local [all …]
|
/linux-6.1.9/drivers/pci/controller/ |
D | pci-xgene-msi.c | 176 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()
|
D | pcie-iproc-msi.c | 211 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-6.1.9/tools/perf/bench/ |
D | numa.c | 57 int curr_cpu; member 912 g->threads[task_nr].curr_cpu = cpu; in update_curr_cpu() 943 node = numa_node_of_cpu(td->curr_cpu); in count_process_nodes() 982 n = numa_node_of_cpu(td->curr_cpu); in count_node_processes() 1052 cpu = td->curr_cpu; in calc_convergence() 1288 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread() 1390 td->curr_cpu = -1; in worker_process()
|
/linux-6.1.9/kernel/ |
D | relay.c | 572 unsigned int i, curr_cpu; in relay_late_setup_files() local 606 curr_cpu = get_cpu(); in relay_late_setup_files() 626 if (curr_cpu == i) { in relay_late_setup_files()
|
/linux-6.1.9/kernel/sched/ |
D | core.c | 3241 int target_cpu, int curr_cpu) in migrate_swap() argument 3248 .src_cpu = curr_cpu, in migrate_swap() 9114 int curr_cpu = task_cpu(p); in migrate_task_to() local 9116 if (curr_cpu == target_cpu) in migrate_task_to() 9124 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to() 9125 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()
|