Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dtopology.h49 #define LOCAL_DISTANCE 10 macro
53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
/linux-6.1.9/drivers/of/
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()
/linux-6.1.9/arch/x86/kernel/
Dsetup_percpu.c91 return LOCAL_DISTANCE; in pcpu_cpu_distance()
95 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux-6.1.9/drivers/base/
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()
/linux-6.1.9/arch/mips/sgi-ip27/
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()
/linux-6.1.9/arch/loongarch/kernel/
Dnuma.c63 return LOCAL_DISTANCE; in pcpu_cpu_distance()
380 node_distances[row][col] = LOCAL_DISTANCE; in numa_default_distance()
Dacpi.c190 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
/linux-6.1.9/arch/powerpc/mm/
Dnuma.c208 if (dist <= LOCAL_DISTANCE) in __cpu_form2_relative_distance()
250 int distance = LOCAL_DISTANCE; in __node_distance()
255 return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); in __node_distance()
421 dist = LOCAL_DISTANCE; in initialize_form2_numa_distance_lookup_table()
/linux-6.1.9/arch/x86/mm/
Dnuma.c395 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()
Dnuma_emulation.c511 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
/linux-6.1.9/drivers/acpi/numa/
Dsrat.c189 if (val != LOCAL_DISTANCE) in slit_valid()
191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
/linux-6.1.9/arch/mips/loongson64/
Dnuma.c61 return LOCAL_DISTANCE; in compute_node_distance()
/linux-6.1.9/arch/ia64/kernel/
Dacpi.c449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup()
492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
/linux-6.1.9/mm/
Dsparse-vmemmap.c139 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
Dpercpu.c2906 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info()
2907 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup_64.c821 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c1348 return (from == to) ? LOCAL_DISTANCE : REMOTE_DISTANCE; in __node_distance()
1486 (numa_latency[i][j] * LOCAL_DISTANCE) / in numa_parse_mdesc()
1556 LOCAL_DISTANCE : REMOTE_DISTANCE; in bootmem_init_numa()
/linux-6.1.9/drivers/nvme/host/
Dmultipath.c219 distance = LOCAL_DISTANCE; in __nvme_find_path()
/linux-6.1.9/arch/sparc/kernel/
Dsmp_64.c1526 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux-6.1.9/kernel/sched/
Dtopology.c1828 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
Dfair.c1388 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()
2497 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()