Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hv/
Dchannel_mgmt.c191 if (channel->target_cpu != get_cpu()) { in hv_process_channel_removal()
193 smp_call_function_single(channel->target_cpu, in hv_process_channel_removal()
256 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
258 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
279 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
281 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
337 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
339 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
410 channel->target_cpu = 0; in init_vp_index()
415 channel->target_cpu = cur_cpu; in init_vp_index()
Dhv_kvp.c132 if (channel->target_cpu != smp_processor_id()) in poll_channel()
133 smp_call_function_single(channel->target_cpu, in poll_channel()
Dchannel.c495 if (channel->target_cpu != get_cpu()) { in vmbus_close_internal()
497 smp_call_function_single(channel->target_cpu, reset_channel_cb, in vmbus_close_internal()
/linux-4.1.27/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-4.1.27/kernel/
Dpadata.c38 int cpu, target_cpu; in padata_index_to_cpu() local
40 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
42 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
44 return target_cpu; in padata_index_to_cpu()
109 int target_cpu, err; in padata_do_parallel() local
136 target_cpu = padata_cpu_hash(pd); in padata_do_parallel()
137 queue = per_cpu_ptr(pd->pqueue, target_cpu); in padata_do_parallel()
143 queue_work_on(target_cpu, pinst->wq, &queue->work); in padata_do_parallel()
/linux-4.1.27/arch/sparc/kernel/
Dsun4d_irq.c486 int target_cpu; in sun4d_init_sbi_irq() local
488 target_cpu = boot_cpu_id; in sun4d_init_sbi_irq()
494 set_sbi_tid(devid, target_cpu << 3); in sun4d_init_sbi_irq()
495 board_to_cpu[board] = target_cpu; in sun4d_init_sbi_irq()
/linux-4.1.27/tools/perf/scripts/python/
Dsched-migration.py353 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
357 ts.wake_up(self.timeslices, pid, target_cpu, fork)
431 target_cpu): argument
434 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
439 target_cpu): argument
442 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/linux-4.1.27/tools/perf/bench/
Dnuma.c206 static cpu_set_t bind_to_cpu(int target_cpu) in bind_to_cpu() argument
216 if (target_cpu == -1) { in bind_to_cpu()
222 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
223 CPU_SET(target_cpu, &mask); in bind_to_cpu()
1147 int target_cpu; in worker_thread() local
1159 target_cpu = g->p.nr_cpus-1; in worker_thread()
1161 target_cpu = 0; in worker_thread()
1163 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1167 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
/linux-4.1.27/include/trace/events/
Dsched.h67 __field( int, target_cpu )
75 __entry->target_cpu = task_cpu(p);
80 __entry->success, __entry->target_cpu)
/linux-4.1.27/tools/perf/Documentation/
Dperf-script-perl.txt71 field:int target_cpu;
81 $comm, $pid, $prio, $success, $target_cpu) = @_;
Dperf-script-python.txt469 field:int target_cpu;
477 comm, pid, prio, success, target_cpu):
/linux-4.1.27/include/linux/
Dhyperv.h714 u32 target_cpu; member
/linux-4.1.27/Documentation/trace/
Dftrace.txt1649 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002
2722 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
2723 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
2724 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003
2727 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
2728 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
2730 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
/linux-4.1.27/kernel/sched/
Dcore.c4875 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
4877 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
4880 if (curr_cpu == target_cpu) in migrate_task_to()
4883 if (!cpumask_test_cpu(target_cpu, tsk_cpus_allowed(p))) in migrate_task_to()
4888 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
Dfair.c7316 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
7317 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
7341 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop()
7350 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()