Home
last modified time | relevance | path

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

/linux/tools/perf/scripts/perl/
H A Dwakeup-latency.pl55 $comm, $pid, $prio, $success, $target_cpu) = @_;
57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
/linux/arch/sparc/kernel/
H A 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/tools/perf/scripts/python/
H A Dsched-migration.py355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
359 ts.wake_up(self.timeslices, pid, target_cpu, fork)
433 target_cpu): argument
436 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
441 target_cpu): argument
444 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/linux/drivers/hv/
H A Dvmbus_drv.c202 return sysfs_emit(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
487 channel->target_cpu); in channel_vp_mapping_show()
494 cur_sc->target_cpu); in channel_vp_mapping_show()
1612 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1617 u32 target_cpu, origin_cpu; in target_cpu_store() local
1623 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store()
1627 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
1630 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in target_cpu_store()
1636 if (!cpu_online(target_cpu)) { in target_cpu_store()
1674 origin_cpu = channel->target_cpu; in target_cpu_store()
[all …]
H A Dhyperv_vmbus.h425 if (channel->target_cpu == cpu) in hv_is_allocated_cpu()
428 if (sc->target_cpu == cpu) in hv_is_allocated_cpu()
H A Dhv.c466 if (channel->target_cpu == cpu) { in hv_synic_cleanup()
471 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
H A Dchannel.c178 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_alloc_ring()
713 open_msg->target_vp = hv_cpu_number_to_vp_number(newchannel->target_cpu); in __vmbus_open()
/linux/drivers/pci/controller/
H A Dpcie-iproc-msi.c210 int target_cpu = cpumask_first(mask); in iproc_msi_irq_set_affinity() local
215 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
219 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu; in iproc_msi_irq_set_affinity()
223 irq_data_update_effective_affinity(data, cpumask_of(target_cpu)); in iproc_msi_irq_set_affinity()
/linux/arch/powerpc/platforms/pseries/
H A Dmobility.c492 static void prod_single(unsigned int target_cpu) in prod_single() argument
497 hwid = get_hard_smp_processor_id(target_cpu); in prod_single()
502 target_cpu, hwid, hvrc); in prod_single()
/linux/drivers/scsi/
H A Dstorvsc_drv.c631 if (device->channel != channel && device->channel->target_cpu == old) { in storvsc_change_target_cpu()
639 if (cur_chn->target_cpu == old) { in storvsc_change_target_cpu()
714 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
715 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
939 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init()
940 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init()
1470 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
/linux/include/trace/events/
H A Dsched.h151 __field( int, target_cpu )
158 __entry->target_cpu = task_cpu(p);
163 __entry->target_cpu)
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-debugfs.c82 fq->target_cpu, in dpaa2_dbg_fqs_show()
H A Ddpaa2-eth.h463 int target_cpu; member
H A Ddpaa2-eth.c2917 cpumask_set_cpu(fq->target_cpu, xps_mask); in update_xps()
3315 fq->target_cpu = rx_cpu; in dpaa2_eth_set_fq_affinity()
3321 fq->target_cpu = txc_cpu; in dpaa2_eth_set_fq_affinity()
3329 fq->channel = dpaa2_eth_get_affine_channel(priv, fq->target_cpu); in dpaa2_eth_set_fq_affinity()
/linux/tools/perf/Documentation/
H A Dperf-script-perl.txt71 field:int target_cpu;
81 $comm, $pid, $prio, $success, $target_cpu) = @_;
/linux/kernel/sched/
H A Dcore.c3419 int target_cpu, int curr_cpu) in migrate_swap() argument
3428 .dst_cpu = target_cpu, in migrate_swap()
7894 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
7896 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
7899 if (curr_cpu == target_cpu) in migrate_task_to()
7902 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to()
7907 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
H A Dfair.c12039 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
12040 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
12051 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu)) in active_load_balance_cpu_stop()
12072 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop()
12080 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
/linux/include/linux/
H A Dhyperv.h921 u32 target_cpu; member
/linux/Documentation/trace/
H A Dftrace.rst2264 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002
3662 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3663 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3664 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003
3667 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3668 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3670 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
H A Devents.rst255 For example, this will filter events that have their .target_cpu field present
258 target_cpu & CPUS{17-42}
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1320 &pcpu_tot[nvchan->channel->target_cpu]; in netvsc_get_pcpu_stats()