Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/include/asm/
Dtopology.h39 int cpu_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc);
92 static inline int cpu_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) in cpu_relative_distance() argument
/linux-6.6.21/arch/powerpc/mm/
Dnuma.c201 static int __cpu_form2_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) in __cpu_form2_relative_distance() argument
207 node2 = associativity_to_nid(cpu2_assoc); in __cpu_form2_relative_distance()
218 static int __cpu_form1_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) in __cpu_form1_relative_distance() argument
226 if (cpu1_assoc[index] == cpu2_assoc[index]) in __cpu_form1_relative_distance()
234 int cpu_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) in cpu_relative_distance() argument
239 return __cpu_form1_relative_distance(cpu1_assoc, cpu2_assoc); in cpu_relative_distance()
240 return __cpu_form2_relative_distance(cpu1_assoc, cpu2_assoc); in cpu_relative_distance()