Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/kernel/sched/
Dfair.c1977 int src_cpu, src_nid; member
2208 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr)) in task_numa_compare()
2421 .src_cpu = task_cpu(p), in task_numa_migrate()
2446 sd = rcu_dereference(per_cpu(sd_numa, env.src_cpu)); in task_numa_migrate()
2529 trace_sched_stick_numa(p, env.src_cpu, NULL, -1); in task_numa_migrate()
2538 trace_sched_stick_numa(p, env.src_cpu, NULL, env.best_cpu); in task_numa_migrate()
2542 ret = migrate_swap(p, env.best_task, env.best_cpu, env.src_cpu); in task_numa_migrate()
2546 trace_sched_stick_numa(p, env.src_cpu, env.best_task, env.best_cpu); in task_numa_migrate()
5590 int src_cpu, int dest_cpu) in throttled_lb_pair() argument
5594 src_cfs_rq = tg->cfs_rq[src_cpu]; in throttled_lb_pair()
[all …]
Dcore.c3433 int src_cpu, dst_cpu; member
3441 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
3444 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3453 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop()
3459 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop()
3463 __migrate_swap_task(arg->dst_task, arg->src_cpu); in migrate_swap_stop()
3479 .src_cpu = curr_cpu, in migrate_swap()
3484 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
3491 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
3497 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap()
[all …]
/linux-6.6.21/include/linux/
Dperf_event.h1113 int src_cpu, int dst_cpu);
/linux-6.6.21/kernel/events/
Dcore.c12973 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument
12982 src_ctx = &per_cpu_ptr(&perf_cpu_context, src_cpu)->ctx; in perf_pmu_migrate_context()
12991 __perf_pmu_remove(src_ctx, src_cpu, pmu, &src_ctx->pinned_groups, &events); in perf_pmu_migrate_context()
12992 __perf_pmu_remove(src_ctx, src_cpu, pmu, &src_ctx->flexible_groups, &events); in perf_pmu_migrate_context()