Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c194 if (channel->target_cpu != get_cpu()) { in hv_process_channel_removal()
196 smp_call_function_single(channel->target_cpu, in hv_process_channel_removal()
221 cpumask_clear_cpu(channel->target_cpu, in hv_process_channel_removal()
290 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
292 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
343 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
345 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer()
423 channel->target_cpu = 0; in init_vp_index()
487 channel->target_cpu = cur_cpu; in init_vp_index()
Dhyperv_vmbus.h762 if (channel->target_cpu != smp_processor_id()) in hv_poll_channel()
763 smp_call_function_single(channel->target_cpu, in hv_poll_channel()
Dchannel.c91 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_open()
504 if (channel->target_cpu != get_cpu()) { in vmbus_close_internal()
506 smp_call_function_single(channel->target_cpu, reset_channel_cb, in vmbus_close_internal()
Dvmbus_drv.c458 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show()
471 cur_sc->target_cpu); in channel_vp_mapping_show()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/tools/perf/bench/
Dnuma.c211 static cpu_set_t bind_to_cpu(int target_cpu) in bind_to_cpu() argument
221 if (target_cpu == -1) { in bind_to_cpu()
227 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
228 CPU_SET(target_cpu, &mask); in bind_to_cpu()
1153 int target_cpu; in worker_thread() local
1165 target_cpu = g->p.nr_cpus-1; in worker_thread()
1167 target_cpu = 0; in worker_thread()
1169 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1173 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
/linux-4.4.14/drivers/pci/host/
Dpci-xgene-msi.c184 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local
188 if (curr_cpu == target_cpu) in xgene_msi_set_affinity()
192 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu; in xgene_msi_set_affinity()
/linux-4.4.14/include/trace/events/
Dsched.h67 __field( int, target_cpu )
75 __entry->target_cpu = task_cpu(p);
80 __entry->target_cpu)
/linux-4.4.14/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.4.14/include/linux/
Dhyperv.h704 u32 target_cpu; member
/linux-4.4.14/Documentation/trace/
Dftrace.txt1662 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002
2775 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
2776 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
2777 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003
2780 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
2781 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
2783 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
/linux-4.4.14/kernel/sched/
Dcore.c5125 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
5127 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
5130 if (curr_cpu == target_cpu) in migrate_task_to()
5133 if (!cpumask_test_cpu(target_cpu, tsk_cpus_allowed(p))) in migrate_task_to()
5138 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
Dfair.c7351 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
7352 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
7376 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop()
7385 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
/linux-4.4.14/drivers/net/hyperv/
Drndis_filter.c1126 node_cpu_mask = cpumask_of_node(cpu_to_node(dev->channel->target_cpu)); in rndis_filter_device_add()
Dnetvsc.c238 node = cpu_to_node(device->channel->target_cpu); in netvsc_init_buf()