Searched refs:LOCAL_DISTANCE (Results 1 – 12 of 12) sorted by relevance
88 return LOCAL_DISTANCE; in pcpu_cpu_distance()92 return LOCAL_DISTANCE; in pcpu_cpu_distance()
105 if ((nodea == nodeb && distance != LOCAL_DISTANCE) || in of_numa_parse_distance_map_v1()106 (nodea != nodeb && distance <= LOCAL_DISTANCE)) { in of_numa_parse_distance_map_v1()
49 #define LOCAL_DISTANCE 10 macro53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
139 return LOCAL_DISTANCE; in compute_node_distance()142 return LOCAL_DISTANCE + 1; in compute_node_distance()156 return LOCAL_DISTANCE + router_distance; in compute_node_distance()
78 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance() 116 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance() 128 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
506 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
60 return LOCAL_DISTANCE; in pcpu_cpu_distance()301 node_distances[row][col] = LOCAL_DISTANCE; in numa_default_distance()
254 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
208 if (dist <= LOCAL_DISTANCE) in __cpu_form2_relative_distance()250 int distance = LOCAL_DISTANCE; in __node_distance()255 return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); in __node_distance()422 dist = LOCAL_DISTANCE; in initialize_form2_numa_distance_lookup_table()
59 return LOCAL_DISTANCE; in compute_node_distance()
1355 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance() 1493 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc() 1563 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
1740 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()2837 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()