Searched refs:LOCAL_DISTANCE (Results 1 – 19 of 19) 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()
297 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()331 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()346 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()
145 return LOCAL_DISTANCE; in pcpu_cpu_distance()149 return LOCAL_DISTANCE; in pcpu_cpu_distance()
189 if (val != LOCAL_DISTANCE) in slit_valid()191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
396 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()434 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()446 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
512 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup()492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
78 return LOCAL_DISTANCE; in compute_node_distance()
138 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
2714 (cpu_distance_fn(cpu, tcpu) > LOCAL_DISTANCE || in pcpu_build_alloc_info()2715 cpu_distance_fn(tcpu, cpu) > LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
191 int distance = LOCAL_DISTANCE; in __node_distance()194 return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); in __node_distance()
820 return LOCAL_DISTANCE; in pcpu_cpu_distance()
1346 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()1484 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc()1554 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
174 distance = LOCAL_DISTANCE; in __nvme_find_path()
1576 return LOCAL_DISTANCE; in pcpu_cpu_distance()
1568 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
1383 faults /= (sched_max_numa_distance - LOCAL_DISTANCE); in score_nearby_nodes()2332 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()