Home
last modified time | relevance | path

Searched refs:dst_cpu (Results 1 – 7 of 7) sorted by relevance

/linux/include/trace/events/
H A Dsched.h613 TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu),
615 TP_ARGS(tsk, src_cpu, dst_cpu),
623 __field( int, dst_cpu )
633 __entry->dst_cpu = dst_cpu;
634 __entry->dst_nid = cpu_to_node(dst_cpu);
640 __entry->dst_cpu, __entry->dst_nid)
646 struct task_struct *dst_tsk, int dst_cpu),
648 TP_ARGS(src_tsk, src_cpu, dst_tsk, dst_cpu),
659 __field( int, dst_cpu )
672 __entry->dst_cpu = dst_cpu;
[all …]
/linux/drivers/irqchip/
H A Dirq-ompic.c100 unsigned int dst_cpu; in ompic_raise_softirq() local
103 for_each_cpu(dst_cpu, mask) { in ompic_raise_softirq()
104 set_bit(ipi_msg, &per_cpu(ops, dst_cpu)); in ompic_raise_softirq()
114 OMPIC_CTRL_DST(dst_cpu) | in ompic_raise_softirq()
/linux/include/linux/sched/
H A Dnuma_balancing.h34 int src_nid, int dst_cpu);
51 struct folio *folio, int src_nid, int dst_cpu) in should_numa_migrate_memory() argument
/linux/kernel/sched/
H A Dfair.c1911 int src_nid, int dst_cpu) in should_numa_migrate_memory() argument
1914 int dst_nid = cpu_to_node(dst_cpu); in should_numa_migrate_memory()
1953 this_cpupid = cpu_pid_to_cpupid(dst_cpu, current->pid); in should_numa_migrate_memory()
2054 int dst_cpu, dst_nid; member
2161 struct rq *rq = cpu_rq(env->dst_cpu); in task_numa_assign()
2164 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()
2166 int start = env->dst_cpu; in task_numa_assign()
2175 env->dst_cpu = cpu; in task_numa_assign()
2176 rq = cpu_rq(env->dst_cpu); in task_numa_assign()
2190 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_assign()
[all …]
H A Dcore.c3371 int src_cpu, dst_cpu; member
3379 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
3383 dst_rq = cpu_rq(arg->dst_cpu); in migrate_swap_stop()
3388 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop()
3394 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop()
3400 __migrate_swap_task(arg->src_task, arg->dst_cpu); in migrate_swap_stop()
3419 .dst_cpu = target_cpu, in migrate_swap()
3422 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
3429 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
3432 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap()
[all …]
/linux/include/linux/
H A Dperf_event.h1160 int src_cpu, int dst_cpu);
/linux/kernel/events/
H A Dcore.c13292 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument
13302 dst_ctx = &per_cpu_ptr(&perf_cpu_context, dst_cpu)->ctx; in perf_pmu_migrate_context()
13319 __perf_pmu_install(dst_ctx, dst_cpu, pmu, &events); in perf_pmu_migrate_context()