Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/trace/events/
Dsched.h501 TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu),
503 TP_ARGS(tsk, src_cpu, dst_cpu),
511 __field( int, dst_cpu )
521 __entry->dst_cpu = dst_cpu;
522 __entry->dst_nid = cpu_to_node(dst_cpu);
528 __entry->dst_cpu, __entry->dst_nid)
534 struct task_struct *dst_tsk, int dst_cpu),
536 TP_ARGS(src_tsk, src_cpu, dst_tsk, dst_cpu),
547 __field( int, dst_cpu )
560 __entry->dst_cpu = dst_cpu;
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
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()
/kernel/linux/linux-5.10/include/linux/sched/
Dnuma_balancing.h24 int src_nid, int dst_cpu);
41 struct page *page, int src_nid, int dst_cpu) in should_numa_migrate_memory() argument
/kernel/linux/linux-5.10/kernel/sched/
Dwalt.h48 static inline int same_cluster(int src_cpu, int dst_cpu) in same_cluster() argument
50 return cpu_rq(src_cpu)->cluster == cpu_rq(dst_cpu)->cluster; in same_cluster()
251 static inline int same_cluster(int src_cpu, int dst_cpu) { return 1; } in same_cluster() argument
Dfair.c1456 int src_nid, int dst_cpu) in should_numa_migrate_memory() argument
1459 int dst_nid = cpu_to_node(dst_cpu); in should_numa_migrate_memory()
1462 this_cpupid = cpu_pid_to_cpupid(dst_cpu, current->pid); in should_numa_migrate_memory()
1576 int dst_cpu, dst_nid; member
1683 struct rq *rq = cpu_rq(env->dst_cpu); in task_numa_assign()
1686 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()
1688 int start = env->dst_cpu; in task_numa_assign()
1697 env->dst_cpu = cpu; in task_numa_assign()
1698 rq = cpu_rq(env->dst_cpu); in task_numa_assign()
1712 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_assign()
[all …]
Dcore.c2137 int src_cpu, dst_cpu; member
2146 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
2150 dst_rq = cpu_rq(arg->dst_cpu); in migrate_swap_stop()
2156 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop()
2162 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop()
2168 __migrate_swap_task(arg->src_task, arg->dst_cpu); in migrate_swap_stop()
2194 .dst_cpu = target_cpu, in migrate_swap()
2197 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
2204 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
2207 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap()
[all …]
Dsched.h2940 static inline int same_freq_domain(int src_cpu, int dst_cpu) in same_freq_domain() argument
2944 if (src_cpu == dst_cpu) in same_freq_domain()
2947 return cpumask_test_cpu(dst_cpu, &rq->freq_domain_cpumask); in same_freq_domain()
3128 static inline int same_freq_domain(int src_cpu, int dst_cpu) in same_freq_domain() argument
/kernel/linux/linux-5.10/include/linux/
Dperf_event.h983 int src_cpu, int dst_cpu);
/kernel/linux/linux-5.10/kernel/events/
Dcore.c12372 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument
12380 dst_ctx = &per_cpu_ptr(pmu->pmu_cpu_context, dst_cpu)->ctx; in perf_pmu_migrate_context()
12415 account_event_cpu(event, dst_cpu); in perf_pmu_migrate_context()
12416 perf_install_in_context(dst_ctx, event, dst_cpu); in perf_pmu_migrate_context()
12428 account_event_cpu(event, dst_cpu); in perf_pmu_migrate_context()
12429 perf_install_in_context(dst_ctx, event, dst_cpu); in perf_pmu_migrate_context()