Home
last modified time | relevance | path

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

/linux-6.15/include/linux/sched/
H A Dtopology.h172 bool cpus_equal_capacity(int this_cpu, int that_cpu);
173 bool cpus_share_cache(int this_cpu, int that_cpu);
174 bool cpus_share_resources(int this_cpu, int that_cpu);
211 static inline bool cpus_equal_capacity(int this_cpu, int that_cpu) in cpus_equal_capacity() argument
216 static inline bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument
221 static inline bool cpus_share_resources(int this_cpu, int that_cpu) in cpus_share_resources() argument
/linux-6.15/arch/arm/common/
H A DbL_switcher.c149 unsigned int mpidr, this_cpu, that_cpu; in bL_switch_to() local
164 that_cpu = bL_switcher_cpu_pairing[this_cpu]; in bL_switch_to()
165 ib_mpidr = cpu_logical_map(that_cpu); in bL_switch_to()
228 cpu_logical_map(that_cpu) = ob_mpidr; in bL_switch_to()
/linux-6.15/kernel/sched/
H A Dcore.c3895 bool cpus_equal_capacity(int this_cpu, int that_cpu) in cpus_equal_capacity() argument
3900 if (this_cpu == that_cpu) in cpus_equal_capacity()
3903 return arch_scale_cpu_capacity(this_cpu) == arch_scale_cpu_capacity(that_cpu); in cpus_equal_capacity()
3906 bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument
3908 if (this_cpu == that_cpu) in cpus_share_cache()
3911 return per_cpu(sd_llc_id, this_cpu) == per_cpu(sd_llc_id, that_cpu); in cpus_share_cache()
3918 bool cpus_share_resources(int this_cpu, int that_cpu) in cpus_share_resources() argument
3920 if (this_cpu == that_cpu) in cpus_share_resources()
3923 return per_cpu(sd_share_id, this_cpu) == per_cpu(sd_share_id, that_cpu); in cpus_share_resources()