Home
last modified time | relevance | path

Searched refs:target_cpu (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/kernel/
Dpadata.c40 int cpu, target_cpu; in padata_index_to_cpu() local
42 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
44 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
46 return target_cpu; in padata_index_to_cpu()
107 int target_cpu, err; in padata_do_parallel() local
134 target_cpu = padata_cpu_hash(pd); in padata_do_parallel()
135 padata->cpu = target_cpu; in padata_do_parallel()
136 queue = per_cpu_ptr(pd->pqueue, target_cpu); in padata_do_parallel()
142 queue_work_on(target_cpu, pinst->wq, &queue->work); in padata_do_parallel()
296 int target_cpu, cpu; in padata_reorder_timer() local
[all …]
/Linux-v4.19/tools/perf/scripts/perl/
Dwakeup-latency.pl55 $comm, $pid, $prio, $success, $target_cpu) = @_;
57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
/Linux-v4.19/drivers/hv/
Dchannel_mgmt.c403 if (channel->target_cpu != get_cpu()) { in hv_process_channel_removal()
405 smp_call_function_single(channel->target_cpu, in hv_process_channel_removal()
429 cpumask_clear_cpu(channel->target_cpu, in hv_process_channel_removal()
509 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
511 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
574 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
576 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
621 channel->target_cpu = 0; in init_vp_index()
705 channel->target_cpu = cur_cpu; in init_vp_index()
Dhyperv_vmbus.h420 if (in_interrupt() && (channel->target_cpu == smp_processor_id())) { in hv_poll_channel()
424 smp_call_function_single(channel->target_cpu, cb, channel, true); in hv_poll_channel()
Dhv.c378 if (channel->target_cpu == cpu) { in hv_synic_cleanup()
384 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
Dchannel.c112 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_open()
588 if (channel->target_cpu != get_cpu()) { in vmbus_reset_channel_cb()
590 smp_call_function_single(channel->target_cpu, reset_channel_cb, in vmbus_reset_channel_cb()
Dvmbus_drv.c460 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show()
473 cur_sc->target_cpu); in channel_vp_mapping_show()
1338 return sprintf(buf, "%u\n", channel->target_cpu); in show_target_cpu()
/Linux-v4.19/arch/sparc/kernel/
Dsun4d_irq.c487 int target_cpu; in sun4d_init_sbi_irq() local
489 target_cpu = boot_cpu_id; in sun4d_init_sbi_irq()
495 set_sbi_tid(devid, target_cpu << 3); in sun4d_init_sbi_irq()
496 board_to_cpu[board] = target_cpu; in sun4d_init_sbi_irq()
/Linux-v4.19/tools/perf/scripts/python/
Dsched-migration.py357 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
361 ts.wake_up(self.timeslices, pid, target_cpu, fork)
435 target_cpu): argument
438 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
443 target_cpu): argument
446 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/Linux-v4.19/tools/perf/bench/
Dnuma.c260 static cpu_set_t bind_to_cpu(int target_cpu) in bind_to_cpu() argument
270 if (target_cpu == -1) { in bind_to_cpu()
276 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
277 CPU_SET(target_cpu, &mask); in bind_to_cpu()
1207 int target_cpu; in worker_thread() local
1219 target_cpu = g->p.nr_cpus-1; in worker_thread()
1221 target_cpu = 0; in worker_thread()
1223 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1227 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
/Linux-v4.19/drivers/pci/controller/
Dpci-xgene-msi.c175 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local
179 if (curr_cpu == target_cpu) in xgene_msi_set_affinity()
183 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu; in xgene_msi_set_affinity()
Dpcie-iproc-msi.c210 int target_cpu = cpumask_first(mask); in iproc_msi_irq_set_affinity() local
214 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
218 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu; in iproc_msi_irq_set_affinity()
Dpci-hyperv.c1178 if (hbus->hdev->channel->target_cpu == smp_processor_id()) in hv_compose_msi_msg()
/Linux-v4.19/include/trace/events/
Dsched.h68 __field( int, target_cpu )
76 __entry->target_cpu = task_cpu(p);
81 __entry->target_cpu)
/Linux-v4.19/drivers/scsi/
Dstorvsc_drv.c659 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
660 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
881 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init()
882 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init()
1317 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpaa2-eth.h268 int target_cpu; member
Ddpaa2-eth.c1686 fq->target_cpu = rx_cpu; in set_fq_affinity()
1692 fq->target_cpu = txc_cpu; in set_fq_affinity()
1711 fq->channel = get_affine_channel(priv, fq->target_cpu); in set_fq_affinity()
/Linux-v4.19/tools/perf/Documentation/
Dperf-script-perl.txt71 field:int target_cpu;
81 $comm, $pid, $prio, $success, $target_cpu) = @_;
Dperf-script-python.txt465 field:int target_cpu;
473 comm, pid, prio, success, target_cpu):
/Linux-v4.19/kernel/sched/
Dcore.c1262 int target_cpu, int curr_cpu) in migrate_swap() argument
1271 .dst_cpu = target_cpu, in migrate_swap()
5475 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
5477 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
5480 if (curr_cpu == target_cpu) in migrate_task_to()
5483 if (!cpumask_test_cpu(target_cpu, &p->cpus_allowed)) in migrate_task_to()
5488 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
Dfair.c8837 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
8838 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
8849 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu)) in active_load_balance_cpu_stop()
8870 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop()
8879 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
/Linux-v4.19/include/linux/
Dhyperv.h788 u32 target_cpu; member
/Linux-v4.19/Documentation/trace/
Dftrace.rst2006 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002
3240 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3241 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3242 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003
3245 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3246 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3248 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc.c294 int node = cpu_to_node(nvchan->channel->target_cpu); in netvsc_alloc_recv_comp_ring()
Dnetvsc_drv.c1154 &pcpu_tot[nvchan->channel->target_cpu]; in netvsc_get_pcpu_stats()