Home
last modified time | relevance | path

Searched refs:src_cpu (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/include/trace/events/
Dsched.h581 TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu),
583 TP_ARGS(tsk, src_cpu, dst_cpu),
589 __field( int, src_cpu )
599 __entry->src_cpu = src_cpu;
600 __entry->src_nid = cpu_to_node(src_cpu);
607 __entry->src_cpu, __entry->src_nid,
613 TP_PROTO(struct task_struct *src_tsk, int src_cpu,
616 TP_ARGS(src_tsk, src_cpu, dst_tsk, dst_cpu),
622 __field( int, src_cpu )
635 __entry->src_cpu = src_cpu;
[all …]
/linux-6.1.9/drivers/irqchip/
Dirq-ompic.c101 unsigned int src_cpu = smp_processor_id(); in ompic_raise_softirq() local
112 ompic_writereg(ompic_base, OMPIC_CTRL(src_cpu), in ompic_raise_softirq()
/linux-6.1.9/kernel/sched/
Dfair.c1711 int src_cpu, src_nid; member
1942 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr)) in task_numa_compare()
2155 .src_cpu = task_cpu(p), in task_numa_migrate()
2180 sd = rcu_dereference(per_cpu(sd_numa, env.src_cpu)); in task_numa_migrate()
2263 trace_sched_stick_numa(p, env.src_cpu, NULL, -1); in task_numa_migrate()
2272 trace_sched_stick_numa(p, env.src_cpu, NULL, env.best_cpu); in task_numa_migrate()
2276 ret = migrate_swap(p, env.best_task, env.best_cpu, env.src_cpu); in task_numa_migrate()
2280 trace_sched_stick_numa(p, env.src_cpu, env.best_task, env.best_cpu); in task_numa_migrate()
5234 int src_cpu, int dest_cpu) in throttled_lb_pair() argument
5238 src_cfs_rq = tg->cfs_rq[src_cpu]; in throttled_lb_pair()
[all …]
Dcore.c3193 int src_cpu, dst_cpu; member
3202 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
3205 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3215 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop()
3221 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop()
3225 __migrate_swap_task(arg->dst_task, arg->src_cpu); in migrate_swap_stop()
3248 .src_cpu = curr_cpu, in migrate_swap()
3253 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
3260 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
3266 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap()
[all …]
/linux-6.1.9/include/linux/
Dperf_event.h1029 int src_cpu, int dst_cpu);
/linux-6.1.9/kernel/events/
Dcore.c12762 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument
12769 src_ctx = &per_cpu_ptr(pmu->pmu_cpu_context, src_cpu)->ctx; in perf_pmu_migrate_context()
12780 unaccount_event_cpu(event, src_cpu); in perf_pmu_migrate_context()