/openbmc/linux/arch/x86/kernel/ |
H A D | setup_percpu.c | 88 return LOCAL_DISTANCE; in pcpu_cpu_distance() 92 return LOCAL_DISTANCE; in pcpu_cpu_distance()
|
/openbmc/linux/drivers/of/ |
H A D | of_numa.c | 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()
|
/openbmc/linux/include/linux/ |
H A D | topology.h | 49 #define LOCAL_DISTANCE 10 macro 53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 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()
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 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()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 63 return LOCAL_DISTANCE; in pcpu_cpu_distance() 348 node_distances[row][col] = LOCAL_DISTANCE; in numa_default_distance()
|
H A D | acpi.c | 233 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | numa.c | 210 if (dist <= LOCAL_DISTANCE) in __cpu_form2_relative_distance() 252 int distance = LOCAL_DISTANCE; in __node_distance() 257 return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); in __node_distance() 424 dist = LOCAL_DISTANCE; in initialize_form2_numa_distance_lookup_table()
|
/openbmc/linux/drivers/acpi/numa/ |
H A D | srat.c | 189 if (val != LOCAL_DISTANCE) in slit_valid() 191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
|
/openbmc/linux/arch/x86/mm/ |
H A D | numa.c | 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()
|
H A D | numa_emulation.c | 511 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | numa.c | 61 return LOCAL_DISTANCE; in compute_node_distance()
|
/openbmc/linux/arch/s390/mm/ |
H A D | init.c | 198 return LOCAL_DISTANCE; in pcpu_cpu_distance()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | acpi.c | 449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup() 492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
|
/openbmc/linux/mm/ |
H A D | sparse-vmemmap.c | 139 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
|
H A D | percpu.c | 2891 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info() 2892 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | setup_64.c | 825 return LOCAL_DISTANCE; in pcpu_cpu_distance()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_64.c | 1362 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance() 1500 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc() 1570 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | smp_64.c | 1528 return LOCAL_DISTANCE; in pcpu_cpu_distance()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | multipath.c | 256 distance = LOCAL_DISTANCE; in __nvme_find_path()
|
/openbmc/linux/kernel/sched/ |
H A D | topology.c | 1844 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
|
H A D | fair.c | 1677 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes() 2769 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()
|