Lines Matching refs:this_cpu
963 static inline int pick_optimal_cpu(int this_cpu, cpumask_t *mask) in pick_optimal_cpu() argument
968 if ((this_cpu != -1) && cpu_isset(this_cpu, *mask)) in pick_optimal_cpu()
969 return this_cpu; in pick_optimal_cpu()
982 int this_cpu = smp_processor_id(); in find_lowest_rq() local
1013 if (this_cpu == cpu) in find_lowest_rq()
1014 this_cpu = -1; /* Skip this_cpu opt if the same */ in find_lowest_rq()
1024 best_cpu = pick_optimal_cpu(this_cpu, in find_lowest_rq()
1036 return pick_optimal_cpu(this_cpu, lowest_mask); in find_lowest_rq()
1176 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_rt_task() local
1186 if (this_cpu == cpu) in pull_rt_task()
1211 p = pick_next_highest_task_rt(src_rq, this_cpu); in pull_rt_task()
1238 set_task_cpu(p, this_cpu); in pull_rt_task()
1296 load_balance_rt(struct rq *this_rq, int this_cpu, struct rq *busiest, in load_balance_rt() argument
1306 move_one_task_rt(struct rq *this_rq, int this_cpu, struct rq *busiest, in move_one_task_rt() argument