Home
last modified time | relevance | path

Searched refs:that_cpu (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/sched/
H A Dtopology.h202 bool cpus_equal_capacity(int this_cpu, int that_cpu);
203 bool cpus_share_cache(int this_cpu, int that_cpu);
204 bool cpus_share_resources(int this_cpu, int that_cpu);
/linux/kernel/sched/
H A Dcore.c4047 bool cpus_equal_capacity(int this_cpu, int that_cpu) in cpus_equal_capacity() argument
4052 if (this_cpu == that_cpu) in cpus_equal_capacity()
4055 return arch_scale_cpu_capacity(this_cpu) == arch_scale_cpu_capacity(that_cpu); in cpus_equal_capacity()
4058 bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument
4060 if (this_cpu == that_cpu) in cpus_share_cache()
4063 return per_cpu(sd_llc_id, this_cpu) == per_cpu(sd_llc_id, that_cpu); in cpus_share_cache()
4070 bool cpus_share_resources(int this_cpu, int that_cpu) in cpus_share_resources() argument
4072 if (this_cpu == that_cpu) in cpus_share_resources()
4075 return per_cpu(sd_share_id, this_cpu) == per_cpu(sd_share_id, that_cpu); in cpus_share_resources()