Home
last modified time | relevance | path

Searched refs:LOCAL_DISTANCE (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/x86/kernel/
H A Dsetup_percpu.c88 return LOCAL_DISTANCE; in pcpu_cpu_distance()
92 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/openbmc/linux/drivers/of/
H A Dof_numa.c107 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 Dtopology.h49 #define LOCAL_DISTANCE 10 macro
53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
/openbmc/linux/drivers/base/
H A Darch_numa.c289 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 Dip27-memory.c139 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 Dnuma.c63 return LOCAL_DISTANCE; in pcpu_cpu_distance()
348 node_distances[row][col] = LOCAL_DISTANCE; in numa_default_distance()
H A Dacpi.c233 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
/openbmc/linux/arch/powerpc/mm/
H A Dnuma.c210 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 Dsrat.c189 if (val != LOCAL_DISTANCE) in slit_valid()
191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
/openbmc/linux/arch/x86/mm/
H A Dnuma.c396 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 Dnuma_emulation.c511 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
/openbmc/linux/arch/mips/loongson64/
H A Dnuma.c61 return LOCAL_DISTANCE; in compute_node_distance()
/openbmc/linux/arch/s390/mm/
H A Dinit.c198 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/openbmc/linux/arch/ia64/kernel/
H A Dacpi.c449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup()
492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
/openbmc/linux/mm/
H A Dsparse-vmemmap.c139 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
H A Dpercpu.c2891 (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 Dsetup_64.c825 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c1362 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 Dsmp_64.c1528 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/openbmc/linux/drivers/nvme/host/
H A Dmultipath.c256 distance = LOCAL_DISTANCE; in __nvme_find_path()
/openbmc/linux/kernel/sched/
H A Dtopology.c1844 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
H A Dfair.c1677 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()
2769 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()