Home
last modified time | relevance | path

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

/device/board/isoftstone/yangfan/kernel/src/incl/soc/
Drockchip_performance.h10 extern int rockchip_perf_select_rt_cpu(int prev_cpu, struct cpumask *lowest_mask);
15 static inline int rockchip_perf_select_rt_cpu(int prev_cpu, struct cpumask *lowest_mask) in rockchip_perf_select_rt_cpu() argument
17 return prev_cpu; in rockchip_perf_select_rt_cpu()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
Dsched.h15 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
16 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1);
19 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
20 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1);
113 TP_PROTO(struct task_struct *p, int prev_cpu, int sync, int *new_cpu),
114 TP_ARGS(p, prev_cpu, sync, new_cpu), 1);
/device/board/isoftstone/yangfan/kernel/src/incl/treace/hooks/
Dsched.h15 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
16 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1);
19 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
20 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1);
113 TP_PROTO(struct task_struct *p, int prev_cpu, int sync, int *new_cpu),
114 TP_ARGS(p, prev_cpu, sync, new_cpu), 1);
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dfair.c787 static int select_idle_sibling(struct task_struct *p, int prev_cpu, int cpu);
6122 static int wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument
6136 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) { in wake_affine_idle()
6137 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle()
6147 …affine_weight(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument
6169 this_eff_load *= capacity_of(prev_cpu); in wake_affine_weight()
6171 prev_eff_load = cpu_load(cpu_rq(prev_cpu)); in wake_affine_weight()
6191 static int wake_affine(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, … in wake_affine() argument
6196 target = wake_affine_idle(this_cpu, prev_cpu, sync); in wake_affine()
6200 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync); in wake_affine()
[all …]
Drt.c1824 int prev_cpu = task_cpu(task); in find_cas_cpu() local
1946 if (target_cpu_util == util && target_cpu == prev_cpu) { in find_cas_cpu()
1968 trace_sched_find_cas_cpu(task, lowest_mask, boosted_tutil, prev_cpu, target_cpu); in find_cas_cpu()
/device/soc/rockchip/common/sdk_linux/drivers/irqchip/
Dirq-gic-v3-its.c1636 int cpu, prev_cpu; in its_set_affinity() local
1643 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity()
1644 its_dec_lpi_count(d, prev_cpu); in its_set_affinity()
1657 if (cpu != prev_cpu) { in its_set_affinity()
1669 its_inc_lpi_count(d, prev_cpu); in its_set_affinity()