Home
last modified time | relevance | path

Searched refs:prev_cpu (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A 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/
H A 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
6130 * If the prev_cpu is idle and cache affine then avoid a migration. in wake_affine_idle()
6132 * is more important than cache hot data on the prev_cpu and from in wake_affine_idle()
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 static int wake_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 wake_affine(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync) wake_affine() argument
6276 find_idlest_cpu(struct sched_domain *sd, struct task_struct *p, int cpu, int prev_cpu, int sd_flag) find_idlest_cpu() argument
6990 find_energy_efficient_cpu(struct task_struct *p, int prev_cpu) find_energy_efficient_cpu() argument
7116 select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags) select_task_rq_fair() argument
11475 int prev_cpu = task_cpu(p); check_for_migration_fair() local
[all...]
H A 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/
H A 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()

Completed in 29 milliseconds