/linux-6.6.21/tools/testing/selftests/kvm/aarch64/ |
D | psci_test.c | 25 static uint64_t psci_cpu_on(uint64_t target_cpu, uint64_t entry_addr, in psci_cpu_on() argument 30 smccc_hvc(PSCI_0_2_FN64_CPU_ON, target_cpu, entry_addr, context_id, in psci_cpu_on() 116 static void guest_test_cpu_on(uint64_t target_cpu) in guest_test_cpu_on() argument 120 GUEST_ASSERT(!psci_cpu_on(target_cpu, CPU_ON_ENTRY_ADDR, CPU_ON_CONTEXT_ID)); in guest_test_cpu_on() 123 target_state = psci_affinity_info(target_cpu, 0); in guest_test_cpu_on()
|
/linux-6.6.21/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 55 $comm, $pid, $prio, $success, $target_cpu) = @_; 57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
|
/linux-6.6.21/drivers/hv/ |
D | channel_mgmt.c | 464 hv_clear_allocated_cpu(channel->target_cpu); in hv_process_channel_removal() 707 if (primary->target_cpu == cpu) in hv_cpuself_used() 711 if (sc != chn && sc->target_cpu == cpu) in hv_cpuself_used() 738 u32 target_cpu; in init_vp_index() local 752 channel->target_cpu = VMBUS_CONNECT_CPU; in init_vp_index() 784 target_cpu = cpumask_first(available_mask); in init_vp_index() 785 cpumask_set_cpu(target_cpu, allocated_mask); in init_vp_index() 788 i > ncpu || !hv_cpuself_used(target_cpu, channel)) in init_vp_index() 792 channel->target_cpu = target_cpu; in init_vp_index()
|
D | vmbus_drv.c | 202 return sprintf(buf, "%d\n", cpu_to_node(hv_dev->channel->target_cpu)); in numa_node_show() 492 channel->offermsg.child_relid, channel->target_cpu); in channel_vp_mapping_show() 503 cur_sc->target_cpu); in channel_vp_mapping_show() 1594 return sprintf(buf, "%u\n", channel->target_cpu); in target_cpu_show() 1599 u32 target_cpu, origin_cpu; in target_cpu_store() local 1605 if (sscanf(buf, "%uu", &target_cpu) != 1) in target_cpu_store() 1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store() 1612 if (!cpumask_test_cpu(target_cpu, housekeeping_cpumask(HK_TYPE_MANAGED_IRQ))) in target_cpu_store() 1618 if (!cpu_online(target_cpu)) { in target_cpu_store() 1656 origin_cpu = channel->target_cpu; in target_cpu_store() [all …]
|
D | hyperv_vmbus.h | 432 if (channel->target_cpu == cpu) in hv_is_allocated_cpu() 435 if (sc->target_cpu == cpu) in hv_is_allocated_cpu()
|
D | hv.c | 471 if (channel->target_cpu == cpu) { in hv_synic_cleanup() 476 if (sc->target_cpu == cpu) { in hv_synic_cleanup()
|
D | channel.c | 176 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-6.6.21/arch/sparc/kernel/ |
D | sun4d_irq.c | 487 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-6.6.21/tools/perf/scripts/python/ |
D | sched-migration.py | 355 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-6.6.21/drivers/irqchip/ |
D | irq-apple-aic.c | 244 u32 target_cpu; member 261 .target_cpu = AIC_TARGET_CPU, 268 .target_cpu = AIC_TARGET_CPU, 413 BUG_ON(!ic->info.target_cpu); in aic_irq_set_affinity() 420 aic_ic_write(ic, ic->info.target_cpu + AIC_HWIRQ_IRQ(hwirq) * 4, BIT(cpu)); in aic_irq_set_affinity() 951 off = start_off = irqc->info.target_cpu; in aic_of_ic_init() 1025 if (irqc->info.target_cpu) in aic_of_ic_init() 1027 aic_ic_write(irqc, irqc->info.target_cpu + off + i * 4, 1); in aic_of_ic_init()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-xgene-msi.c | 175 int target_cpu = cpumask_first(mask); in xgene_msi_set_affinity() local 179 if (curr_cpu == target_cpu) in xgene_msi_set_affinity() 183 irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu; in xgene_msi_set_affinity()
|
D | pcie-iproc-msi.c | 210 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-6.6.21/tools/perf/bench/ |
D | numa.c | 270 static cpu_set_t *bind_to_cpu(int target_cpu) in bind_to_cpu() argument 290 if (target_cpu == -1) { in bind_to_cpu() 296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu() 299 CPU_SET_S(target_cpu, size, mask); in bind_to_cpu() 1278 int target_cpu; in worker_thread() local 1290 target_cpu = g->p.nr_cpus-1; in worker_thread() 1292 target_cpu = 0; in worker_thread() 1294 orig_mask = bind_to_cpu(target_cpu); in worker_thread() 1298 printf(" (injecting perturbalance, moved to CPU#%d)\n", target_cpu); in worker_thread()
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | mobility.c | 493 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-6.6.21/kernel/ |
D | padata.c | 52 int cpu, target_cpu; in padata_index_to_cpu() local 54 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu() 56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu() 58 return target_cpu; in padata_index_to_cpu()
|
/linux-6.6.21/drivers/scsi/ |
D | storvsc_drv.c | 623 if (device->channel != channel && device->channel->target_cpu == old) { in storvsc_change_target_cpu() 631 if (cur_chn->target_cpu == old) { in storvsc_change_target_cpu() 706 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation() 707 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation() 932 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init() 933 cpumask_set_cpu(device->channel->target_cpu, in storvsc_channel_init() 1460 if (outgoing_channel->target_cpu == q_num) { in storvsc_do_io()
|
/linux-6.6.21/include/trace/events/ |
D | sched.h | 151 __field( int, target_cpu ) 158 __entry->target_cpu = task_cpu(p); 163 __entry->target_cpu)
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-debugfs.c | 82 fq->target_cpu, in dpaa2_dbg_fqs_show()
|
D | dpaa2-eth.h | 463 int target_cpu; member
|
D | dpaa2-eth.c | 2914 cpumask_set_cpu(fq->target_cpu, &xps_mask); in update_xps() 3311 fq->target_cpu = rx_cpu; in dpaa2_eth_set_fq_affinity() 3317 fq->target_cpu = txc_cpu; in dpaa2_eth_set_fq_affinity() 3325 fq->channel = dpaa2_eth_get_affine_channel(priv, fq->target_cpu); in dpaa2_eth_set_fq_affinity()
|
/linux-6.6.21/tools/perf/Documentation/ |
D | perf-script-perl.txt | 71 field:int target_cpu; 81 $comm, $pid, $prio, $success, $target_cpu) = @_;
|
D | perf-script-python.txt | 465 field:int target_cpu; 473 comm, pid, prio, success, target_cpu):
|
/linux-6.6.21/Documentation/trace/ |
D | histogram.rst | 2407 …<idle>-0 [005] d.h3 309.873611: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005 2408 …<idle>-0 [005] dNh4 309.873613: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005 2411 …<idle>-0 [005] d.h3 309.874624: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005 2412 …<idle>-0 [005] dNh4 309.874626: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005 2413 …<idle>-0 [005] dNh3 309.874628: sched_waking: comm=cyclictest pid=2103 prio=19 target_cpu=005 2414 …<idle>-0 [005] dNh4 309.874630: sched_wakeup: comm=cyclictest pid=2103 prio=19 target_cpu=005 2416 …-0 [004] d.h3 309.874757: sched_waking: comm=gnome-terminal- pid=1699 prio=120 target_cpu=004 2417 …-0 [004] dNh4 309.874762: sched_wakeup: comm=gnome-terminal- pid=1699 prio=120 target_cpu=004 2420 … <idle>-0 [003] d.s4 309.874956: sched_waking: comm=rcu_sched pid=9 prio=120 target_cpu=007 2422 … <idle>-0 [003] d.s5 309.874961: sched_wakeup: comm=rcu_sched pid=9 prio=120 target_cpu=007
|
/linux-6.6.21/include/linux/ |
D | hyperv.h | 907 u32 target_cpu; member
|
/linux-6.6.21/kernel/sched/ |
D | core.c | 3472 int target_cpu, int curr_cpu) in migrate_swap() argument 3481 .dst_cpu = target_cpu, in migrate_swap() 9360 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to() argument 9362 struct migration_arg arg = { p, target_cpu }; in migrate_task_to() 9365 if (curr_cpu == target_cpu) in migrate_task_to() 9368 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to() 9373 trace_sched_move_numa(p, curr_cpu, target_cpu); in migrate_task_to()
|