Searched refs:LOCAL_DISTANCE (Results 1 – 14 of 14) sorted by relevance
108 if ((nodea == nodeb && distance != LOCAL_DISTANCE) || in of_numa_parse_distance_map_v1()109 (nodea != nodeb && distance <= LOCAL_DISTANCE)) { in of_numa_parse_distance_map_v1()
46 #define LOCAL_DISTANCE 10 macro50 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
80 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_alloc_distance()118 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()130 return from == to ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
506 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
149 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
2846 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info()2847 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
55 return LOCAL_DISTANCE; in pcpu_cpu_distance()
296 if (val != LOCAL_DISTANCE) in slit_valid()298 } else if (val <= LOCAL_DISTANCE) in slit_valid()
181 return LOCAL_DISTANCE; in pcpu_cpu_distance()
818 return LOCAL_DISTANCE; in pcpu_cpu_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()
325 distance = LOCAL_DISTANCE; in __nvme_find_path()
1982 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_record_numa_dist()
1721 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()2819 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()