Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_trace.h77 __field(int, curr_cpu)
91 __entry->curr_cpu = get_cpu();
102 __get_bitmask(irq_affinity), __entry->curr_cpu, __entry->budget,
/linux-6.6.21/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-6.6.21/tools/perf/bench/
Dnuma.c57 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.6.21/drivers/vdpa/vdpa_user/
Dvduse_dev.c1095 int curr_cpu = vq->irq_effective_cpu; in vduse_vq_update_effective_cpu() local
1098 curr_cpu = cpumask_next(curr_cpu, &vq->irq_affinity); in vduse_vq_update_effective_cpu()
1099 if (cpu_online(curr_cpu)) in vduse_vq_update_effective_cpu()
1102 if (curr_cpu >= nr_cpu_ids) in vduse_vq_update_effective_cpu()
1103 curr_cpu = IRQ_UNBOUND; in vduse_vq_update_effective_cpu()
1106 vq->irq_effective_cpu = curr_cpu; in vduse_vq_update_effective_cpu()
/linux-6.6.21/kernel/
Drelay.c572 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.6.21/tools/perf/util/
Dstat-display.c1484 struct perf_cpu curr_cpu = config->aggr_map->map[aggr_idx].cpu; in print_percore() local
1485 struct aggr_cpu_id core_id = aggr_cpu_id__core(curr_cpu, NULL); in print_percore()
/linux-6.6.21/kernel/sched/
Dcore.c3472 int target_cpu, int curr_cpu) in migrate_swap() argument
3479 .src_cpu = curr_cpu, in migrate_swap()
9363 int curr_cpu = task_cpu(p); in migrate_task_to() local
9365 if (curr_cpu == target_cpu) in migrate_task_to()
9373 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
9374 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()