Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c115 curr_cpu = cpumask_next(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
286 int curr_cpu; in per_cpu_affinity_put_max() local
497 int i, j, curr_cpu; in _dev_comp_vect_cpu_mask_init() local
535 if (curr_cpu < 0) in _dev_comp_vect_cpu_mask_init()
553 return curr_cpu; in _dev_comp_vect_cpu_mask_init()
643 curr_cpu = cpumask_next(curr_cpu, in hfi1_dev_affinity_init()
658 curr_cpu = cpumask_next(curr_cpu, in hfi1_dev_affinity_init()
979 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_trace.h77 __field(int, curr_cpu)
91 __entry->curr_cpu = get_cpu();
102 __get_bitmask(irq_affinity), __entry->curr_cpu, __entry->budget,
/openbmc/linux/drivers/pci/controller/
H A 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()
H A 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()
/openbmc/linux/tools/perf/bench/
H A 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()
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1097 int curr_cpu = vq->irq_effective_cpu; in vduse_vq_update_effective_cpu() local
1100 curr_cpu = cpumask_next(curr_cpu, &vq->irq_affinity); in vduse_vq_update_effective_cpu()
1101 if (cpu_online(curr_cpu)) in vduse_vq_update_effective_cpu()
1104 if (curr_cpu >= nr_cpu_ids) in vduse_vq_update_effective_cpu()
1105 curr_cpu = IRQ_UNBOUND; in vduse_vq_update_effective_cpu()
1108 vq->irq_effective_cpu = curr_cpu; in vduse_vq_update_effective_cpu()
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/tools/perf/util/
H A Dstat-display.c1488 struct perf_cpu curr_cpu = config->aggr_map->map[aggr_idx].cpu; in print_percore() local
1489 struct aggr_cpu_id core_id = aggr_cpu_id__core(curr_cpu, NULL); in print_percore()
/openbmc/linux/kernel/sched/
H A Dcore.c3468 int target_cpu, int curr_cpu) in migrate_swap() argument
3475 .src_cpu = curr_cpu, in migrate_swap()
9364 int curr_cpu = task_cpu(p); in migrate_task_to() local
9366 if (curr_cpu == target_cpu) in migrate_task_to()
9374 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
9375 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()