Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dchannel_mgmt.c474 hv_clear_allocated_cpu(channel->target_cpu); in hv_process_channel_removal()
717 if (primary->target_cpu == cpu) in hv_cpuself_used()
721 if (sc != chn && sc->target_cpu == cpu) in hv_cpuself_used()
748 u32 target_cpu; in init_vp_index() local
762 channel->target_cpu = VMBUS_CONNECT_CPU; in init_vp_index()
794 target_cpu = cpumask_first(available_mask); in init_vp_index()
795 cpumask_set_cpu(target_cpu, allocated_mask); in init_vp_index()
798 i > ncpu || !hv_cpuself_used(target_cpu, channel)) in init_vp_index()
802 channel->target_cpu = target_cpu; in init_vp_index()
H A Dvmbus_drv.c222 return sysfs_emit(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show()
507 channel->target_cpu); in channel_vp_mapping_show()
514 cur_sc->target_cpu); in channel_vp_mapping_show()
1700 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show()
1703 int vmbus_channel_set_cpu(struct vmbus_channel *channel, u32 target_cpu) in vmbus_channel_set_cpu() argument
1715 if (target_cpu >= nr_cpumask_bits) in vmbus_channel_set_cpu()
1718 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in vmbus_channel_set_cpu()
1721 if (!cpu_online(target_cpu)) in vmbus_channel_set_cpu()
1756 origin_cpu = channel->target_cpu; in vmbus_channel_set_cpu()
1757 if (target_cpu == origin_cpu) in vmbus_channel_set_cpu()
[all …]
H A Dhv.c560 if (channel->target_cpu == cpu || in hv_pick_new_cpu()
561 channel->target_cpu == VMBUS_CONNECT_CPU) in hv_pick_new_cpu()
602 if (channel->target_cpu == cpu) { in hv_synic_cleanup()
610 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
H A Dhyperv_vmbus.h491 if (channel->target_cpu == cpu) in hv_is_allocated_cpu()
494 if (sc->target_cpu == cpu) in hv_is_allocated_cpu()
H A Dchannel.c179 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_alloc_ring()
732 open_msg->target_vp = hv_cpu_number_to_vp_number(newchannel->target_cpu); in __vmbus_open()
/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/drivers/irqchip/
H A Dirq-apple-aic.c247 u32 target_cpu; member
265 .target_cpu = AIC_TARGET_CPU,
272 .target_cpu = AIC_TARGET_CPU,
281 .target_cpu = AIC_TARGET_CPU,
435 BUG_ON(!ic->info.target_cpu); in aic_irq_set_affinity()
442 aic_ic_write(ic, ic->info.target_cpu + AIC_HWIRQ_IRQ(hwirq) * 4, BIT(cpu)); in aic_irq_set_affinity()
987 off = start_off = irqc->info.target_cpu; in aic_of_ic_init()
1062 if (irqc->info.target_cpu) in aic_of_ic_init()
1064 aic_ic_write(irqc, irqc->info.target_cpu + off + i * 4, 1); in aic_of_ic_init()
/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/pci/controller/
H A Dpcie-iproc-msi.c211 int target_cpu = cpumask_first(mask); in iproc_msi_irq_set_affinity() local
216 if (curr_cpu == target_cpu) in iproc_msi_irq_set_affinity()
220 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu; in iproc_msi_irq_set_affinity()
224 irq_data_update_effective_affinity(data, cpumask_of(target_cpu)); in iproc_msi_irq_set_affinity()
H A Dpci-xgene-msi.c152 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local
154 irq_data_update_effective_affinity(irqdata, cpumask_of(target_cpu)); in xgene_msi_set_affinity()
/linux/arch/powerpc/platforms/pseries/
H A Dmobility.c493 static void prod_single(unsigned int target_cpu) in prod_single() argument
498 hwid = get_hard_smp_processor_id(target_cpu); in prod_single()
503 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()
/linux/include/trace/events/
H A Dsched.h151 __field( int, target_cpu )
158 __entry->target_cpu = task_cpu(p);
163 __entry->target_cpu)
/linux/Documentation/arch/powerpc/
H A Dvpa-dtl.rst149 … 105373.359903: sched:sched_waking: comm=perf pid=13418 prio=120 target_cpu=009
156 …5373.360052: sched:sched_waking: comm=migration/10 pid=72 prio=0 target_cpu=010
/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.c2925 cpumask_set_cpu(fq->target_cpu, xps_mask); in update_xps()
3325 fq->target_cpu = rx_cpu; in dpaa2_eth_set_fq_affinity()
3331 fq->target_cpu = txc_cpu; in dpaa2_eth_set_fq_affinity()
3339 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/include/linux/
H A Dhyperv.h877 u32 target_cpu; member
1635 int vmbus_channel_set_cpu(struct vmbus_channel *channel, u32 target_cpu);
/linux/kernel/sched/
H A Dcore.c3342 int target_cpu, int curr_cpu) in migrate_swap() argument
3351 .dst_cpu = target_cpu, in migrate_swap()
7982 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument
7984 struct migration_arg arg = { p, target_cpu }; in migrate_task_to()
7987 if (curr_cpu == target_cpu) in migrate_task_to()
7990 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to()
7995 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
H A Dfair.c12144 int target_cpu = busiest_rq->push_cpu; in active_load_balance_cpu_stop() local
12145 struct rq *target_rq = cpu_rq(target_cpu); in active_load_balance_cpu_stop()
12156 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu)) in active_load_balance_cpu_stop()
12177 for_each_domain(target_cpu, sd) { in active_load_balance_cpu_stop()
12185 .dst_cpu = target_cpu, in active_load_balance_cpu_stop()
/linux/Documentation/trace/
H A Dftrace.rst2285 <idle>-0 2d.h4 1us : sched_wakeup: comm=sleep pid=5882 prio=94 success=1 target_cpu=002
3683 …8 [000] d..4 136.676759: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3684 …h-1998 [000] dN.4 136.676760: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3685 … [003] d.h3 136.676906: sched_wakeup: comm=rcu_preempt pid=9 prio=120 success=1 target_cpu=003
3688 …8 [000] d..4 136.677014: sched_wakeup: comm=kworker/0:1 pid=59 prio=120 success=1 target_cpu=000
3689 …h-1998 [000] dN.4 136.677016: sched_wakeup: comm=bash pid=1998 prio=120 success=1 target_cpu=000
3691 …1-59 [000] d..4 136.677022: sched_wakeup: comm=sshd pid=1995 prio=120 success=1 target_cpu=001
/linux/drivers/net/hyperv/
H A Dnetvsc.c324 int node = cpu_to_node(nvchan->channel->target_cpu); in netvsc_alloc_recv_comp_ring()