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

/linux-master/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-master/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c25 static uint64_t psci_cpu_on(uint64_t target_cpu, uint64_t entry_addr, argument
30 smccc_hvc(PSCI_0_2_FN64_CPU_ON, target_cpu, entry_addr, context_id,
116 static void guest_test_cpu_on(uint64_t target_cpu) argument
120 GUEST_ASSERT(!psci_cpu_on(target_cpu, CPU_ON_ENTRY_ADDR, CPU_ON_CONTEXT_ID));
123 target_state = psci_affinity_info(target_cpu, 0);
/linux-master/arch/sparc/kernel/
H A Dsun4d_irq.c487 int target_cpu; local
489 target_cpu = boot_cpu_id;
495 set_sbi_tid(devid, target_cpu << 3);
496 board_to_cpu[board] = target_cpu;
/linux-master/drivers/hv/
H A Dchannel_mgmt.c464 hv_clear_allocated_cpu(channel->target_cpu);
596 * STORE target_cpu LOAD target_cpu
707 if (primary->target_cpu == cpu)
711 if (sc != chn && sc->target_cpu == cpu)
738 u32 target_cpu; local
752 channel->target_cpu = VMBUS_CONNECT_CPU;
784 target_cpu = cpumask_first(available_mask);
785 cpumask_set_cpu(target_cpu, allocated_mask);
788 i > ncpu || !hv_cpuself_used(target_cpu, channe
[all...]
H A Dvmbus_drv.c202 return sysfs_emit(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu));
487 channel->target_cpu);
494 cur_sc->target_cpu);
1584 return sprintf(buf, "%u\n", channel->target_cpu);
1589 u32 target_cpu, origin_cpu; local
1595 if (sscanf(buf, "%uu", &target_cpu) != 1)
1598 /* Validate target_cpu for the cpumask_test_cpu() operation below. */
1599 if (target_cpu >= nr_cpumask_bits)
1602 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ)))
1608 if (!cpu_online(target_cpu)) {
[all...]
H A Dhyperv_vmbus.h432 if (channel->target_cpu == cpu)
435 if (sc->target_cpu == cpu)
H A Dhv.c467 if (channel->target_cpu == cpu) {
472 if (sc->target_cpu == cpu) {
H A Dchannel.c178 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu),
713 open_msg->target_vp = hv_cpu_number_to_vp_number(newchannel->target_cpu);
/linux-master/tools/perf/scripts/python/
H A Dsched-migration.py355 def wake_up(self, headers, comm, pid, success, target_cpu, fork):
359 ts.wake_up(self.timeslices, pid, target_cpu, fork)
433 target_cpu):
436 parser.wake_up(headers, comm, pid, success, target_cpu, 1)
441 target_cpu):
444 parser.wake_up(headers, comm, pid, success, target_cpu, 0)
/linux-master/drivers/irqchip/
H A Dirq-apple-aic.c244 u32 target_cpu; member in struct:aic_info
261 .target_cpu = AIC_TARGET_CPU,
268 .target_cpu = AIC_TARGET_CPU,
413 BUG_ON(!ic->info.target_cpu);
420 aic_ic_write(ic, ic->info.target_cpu + AIC_HWIRQ_IRQ(hwirq) * 4, BIT(cpu));
951 off = start_off = irqc->info.target_cpu;
1025 if (irqc->info.target_cpu)
1027 aic_ic_write(irqc, irqc->info.target_cpu + off + i * 4, 1);
/linux-master/drivers/pci/controller/
H A Dpci-xgene-msi.c175 int target_cpu = cpumask_first(mask); local
179 if (curr_cpu == target_cpu)
183 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu;
H A Dpcie-iproc-msi.c210 int target_cpu = cpumask_first(mask); local
215 if (curr_cpu == target_cpu)
219 data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu;
223 irq_data_update_effective_affinity(data, cpumask_of(target_cpu));
/linux-master/arch/powerpc/platforms/pseries/
H A Dmobility.c492 static void prod_single(unsigned int target_cpu) argument
497 hwid = get_hard_smp_processor_id(target_cpu);
502 target_cpu, hwid, hvrc);
/linux-master/tools/perf/bench/
H A Dnuma.c270 static cpu_set_t *bind_to_cpu(int target_cpu) argument
290 if (target_cpu == -1) {
296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus)
299 CPU_SET_S(target_cpu, size, mask);
1278 int target_cpu; local
1290 target_cpu = g->p.nr_cpus-1;
1292 target_cpu = 0;
1294 orig_mask = bind_to_cpu(target_cpu);
1298 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu);
[all...]
/linux-master/kernel/
H A Dpadata.c52 int cpu, target_cpu; local
54 target_cpu = cpumask_first(pd->cpumask.pcpu);
56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu);
58 return target_cpu;
/linux-master/include/trace/events/
H A Dsched.h151 __field( int, target_cpu )
158 __entry->target_cpu = task_cpu(p);
161 TP_printk("comm=%s pid=%d prio=%d target_cpu=%03d",
163 __entry->target_cpu)
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-debugfs.c82 fq->target_cpu,
H A Ddpaa2-eth.h463 int target_cpu; member in struct:dpaa2_eth_fq
H A Ddpaa2-eth.c2914 cpumask_set_cpu(fq->target_cpu, &xps_mask);
3311 fq->target_cpu = rx_cpu;
3317 fq->target_cpu = txc_cpu;
3325 fq->channel = dpaa2_eth_get_affine_channel(priv, fq->target_cpu);
/linux-master/drivers/scsi/
H A Dstorvsc_drv.c623 if (device->channel != channel && device->channel->target_cpu == old) {
631 if (cur_chn->target_cpu == old) {
706 stor_device->stor_chns[new_sc->target_cpu] = new_sc;
707 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus);
932 stor_device->stor_chns[device->channel->target_cpu] = device->channel;
933 cpumask_set_cpu(device->channel->target_cpu,
1460 if (outgoing_channel->target_cpu == q_num) {
/linux-master/include/linux/
H A Dhyperv.h928 u32 target_cpu; member in struct:vmbus_channel
/linux-master/kernel/sched/
H A Dcore.c3476 int target_cpu, int curr_cpu)
3485 .dst_cpu = target_cpu,
9368 /* Migrate current task p to target_cpu */
9369 int migrate_task_to(struct task_struct *p, int target_cpu) argument
9371 struct migration_arg arg = { p, target_cpu };
9374 if (curr_cpu == target_cpu)
9377 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr))
9382 trace_sched_move_numa(p, curr_cpu, target_cpu);
3475 migrate_swap(struct task_struct *cur, struct task_struct *p, int target_cpu, int curr_cpu) argument
H A Dfair.c11568 int target_cpu = busiest_rq->push_cpu; local
11569 struct rq *target_rq = cpu_rq(target_cpu);
11580 if (!cpu_active(busiest_cpu) || !cpu_active(target_cpu))
11601 for_each_domain(target_cpu, sd) {
11609 .dst_cpu = target_cpu,
/linux-master/drivers/net/hyperv/
H A Dnetvsc.c324 int node = cpu_to_node(nvchan->channel->target_cpu);
H A Dnetvsc_drv.c1319 &pcpu_tot[nvchan->channel->target_cpu];

Completed in 361 milliseconds