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()
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()
353 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()387 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()402 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
189 if (val != LOCAL_DISTANCE) in slit_valid()191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
209 if (dist <= LOCAL_DISTANCE) in __cpu_form2_relative_distance()251 int distance = LOCAL_DISTANCE; in __node_distance()256 return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); in __node_distance()422 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()
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()
821 return LOCAL_DISTANCE; in pcpu_cpu_distance()
492 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
2908 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info()2909 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
1347 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()1485 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc()1555 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
200 distance = LOCAL_DISTANCE; in __nvme_find_path()
1576 return LOCAL_DISTANCE; in pcpu_cpu_distance()
1784 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
1316 faults /= (sched_max_numa_distance - LOCAL_DISTANCE); in score_nearby_nodes()2267 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()
Completed in 59 milliseconds