Lines Matching refs:cpus
167 unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8); in get_update_sysctl_factor() local
175 factor = cpus; in get_update_sysctl_factor()
179 factor = 1 + ilog2(cpus); in get_update_sysctl_factor()
6296 struct cpumask *cpus = this_cpu_cpumask_var_ptr(select_idle_mask); in select_idle_core() local
6305 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_core()
6307 for_each_cpu_wrap(core, cpus, target) { in select_idle_core()
6316 cpumask_andnot(cpus, cpus, cpu_smt_mask(core)); in select_idle_core()
6372 struct cpumask *cpus = this_cpu_cpumask_var_ptr(select_idle_mask); in select_idle_cpu() local
6403 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_cpu()
6405 for_each_cpu_wrap(cpu, cpus, target) { in select_idle_cpu()
6428 struct cpumask *cpus; in select_idle_capacity() local
6430 cpus = this_cpu_cpumask_var_ptr(select_idle_mask); in select_idle_capacity()
6431 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_capacity()
6437 for_each_cpu_wrap(cpu, cpus, target) { in select_idle_capacity()
7760 struct cpumask *cpus; member
7919 for_each_cpu_and(cpu, env->dst_grpmask, env->cpus) { in can_migrate_task()
8767 for_each_cpu_and(i, sched_group_span(group), env->cpus) { in update_sg_lb_stats()
9719 trace_android_rvh_find_busiest_queue(env->dst_cpu, group, env->cpus, in find_busiest_queue()
9724 for_each_cpu_and(i, sched_group_span(group), env->cpus) { in find_busiest_queue()
9908 if (!cpumask_test_cpu(env->dst_cpu, env->cpus)) in should_we_balance()
9919 for_each_cpu_and(cpu, group_balance_mask(sg), env->cpus) { in should_we_balance()
9944 struct cpumask *cpus = this_cpu_cpumask_var_ptr(load_balance_mask); in load_balance() local
9953 .cpus = cpus, in load_balance()
9958 cpumask_and(cpus, sched_domain_span(sd), cpu_active_mask); in load_balance()
10053 __cpumask_clear_cpu(env.dst_cpu, env.cpus); in load_balance()
10080 __cpumask_clear_cpu(cpu_of(busiest), cpus); in load_balance()
10089 if (!cpumask_subset(cpus, env.dst_grpmask)) { in load_balance()