Searched refs:LOCAL_DISTANCE (Results 1 – 21 of 21) sorted by relevance
49 #define LOCAL_DISTANCE 10 macro53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
107 if ((nodea == nodeb && distance != LOCAL_DISTANCE) || in of_numa_parse_distance_map_v1()108 (nodea != nodeb && distance <= LOCAL_DISTANCE)) { in of_numa_parse_distance_map_v1()
91 return LOCAL_DISTANCE; in pcpu_cpu_distance()95 return LOCAL_DISTANCE; in pcpu_cpu_distance()
289 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()323 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()338 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_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()
63 return LOCAL_DISTANCE; in pcpu_cpu_distance()380 node_distances[row][col] = LOCAL_DISTANCE; in numa_default_distance()
190 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()421 dist = LOCAL_DISTANCE; in initialize_form2_numa_distance_lookup_table()
395 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()433 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()445 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
511 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
189 if (val != LOCAL_DISTANCE) in slit_valid()191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
61 return LOCAL_DISTANCE; in compute_node_distance()
449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup()492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
139 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
2906 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info()2907 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
821 return LOCAL_DISTANCE; in pcpu_cpu_distance()
1348 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()1486 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc()1556 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
219 distance = LOCAL_DISTANCE; in __nvme_find_path()
1526 return LOCAL_DISTANCE; in pcpu_cpu_distance()
1828 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
1388 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()2497 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()