Lines Matching refs:this_cpu

4568 	int idx, this_cpu, prev_cpu;  in wake_affine()  local
4581 this_cpu = smp_processor_id(); in wake_affine()
4584 this_load = target_load(this_cpu, idx); in wake_affine()
4595 this_load += effective_load(tg, this_cpu, -weight, -weight); in wake_affine()
4615 prev_eff_load *= capacity_of(this_cpu); in wake_affine()
4619 effective_load(tg, this_cpu, weight, weight); in wake_affine()
4643 int this_cpu, int sd_flag) in find_idlest_group() argument
4663 local_group = cpumask_test_cpu(this_cpu, in find_idlest_group()
4699 find_idlest_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_cpu() argument
4704 int least_loaded_cpu = this_cpu; in find_idlest_cpu()
4734 if (load < min_load || (load == min_load && i == this_cpu)) { in find_idlest_cpu()
6911 static int load_balance(int this_cpu, struct rq *this_rq, in load_balance() argument
6924 .dst_cpu = this_cpu, in load_balance()
7089 if (!cpumask_test_cpu(this_cpu, in load_balance()
7104 busiest->push_cpu = this_cpu; in load_balance()
7208 int this_cpu = this_rq->cpu; in idle_balance() local
7237 update_blocked_averages(this_cpu); in idle_balance()
7239 for_each_domain(this_cpu, sd) { in idle_balance()
7252 t0 = sched_clock_cpu(this_cpu); in idle_balance()
7254 pulled_task = load_balance(this_cpu, this_rq, in idle_balance()
7258 domain_cost = sched_clock_cpu(this_cpu) - t0; in idle_balance()
7634 int this_cpu = this_rq->cpu; in nohz_idle_balance() local
7639 !test_bit(NOHZ_BALANCE_KICK, nohz_flags(this_cpu))) in nohz_idle_balance()
7643 if (balance_cpu == this_cpu || !idle_cpu(balance_cpu)) in nohz_idle_balance()
7673 clear_bit(NOHZ_BALANCE_KICK, nohz_flags(this_cpu)); in nohz_idle_balance()
7839 int this_cpu = smp_processor_id(); in task_fork_fair() local
7857 __set_task_cpu(p, this_cpu); in task_fork_fair()