Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/kernel/sched/
Dcore.c3468 int target_cpu, int curr_cpu) in migrate_swap() argument
3475 .src_cpu = curr_cpu, in migrate_swap()
9362 int curr_cpu = task_cpu(p); in migrate_task_to() local
9364 if (curr_cpu == target_cpu) in migrate_task_to()
9372 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
9373 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()