Lines Matching refs:dist
201 int dist; in __cpu_form2_relative_distance() local
207 dist = numa_distance_table[node1][node2]; in __cpu_form2_relative_distance()
208 if (dist <= LOCAL_DISTANCE) in __cpu_form2_relative_distance()
210 else if (dist <= REMOTE_DISTANCE) in __cpu_form2_relative_distance()
218 int dist = 0; in __cpu_form1_relative_distance() local
226 dist++; in __cpu_form1_relative_distance()
229 return dist; in __cpu_form1_relative_distance()
417 int dist; in initialize_form2_numa_distance_lookup_table() local
420 dist = form2_distances[distance_index++]; in initialize_form2_numa_distance_lookup_table()
422 dist = LOCAL_DISTANCE; in initialize_form2_numa_distance_lookup_table()
424 dist = REMOTE_DISTANCE; in initialize_form2_numa_distance_lookup_table()
425 numa_distance_table[nodeA][nodeB] = dist; in initialize_form2_numa_distance_lookup_table()
426 pr_debug("dist[%d][%d]=%d ", nodeA, nodeB, dist); in initialize_form2_numa_distance_lookup_table()