Home
last modified time | relevance | path

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

/linux/include/linux/
A Dtopology.h49 #define LOCAL_DISTANCE 10 macro
53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
/linux/drivers/of/
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()
/linux/arch/mips/sgi-ip27/
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()
/linux/arch/x86/kernel/
A Dsetup_percpu.c145 return LOCAL_DISTANCE; in pcpu_cpu_distance()
149 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/drivers/base/
A Darch_numa.c353 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()
/linux/drivers/acpi/numa/
A Dsrat.c189 if (val != LOCAL_DISTANCE) in slit_valid()
191 } else if (val <= LOCAL_DISTANCE) in slit_valid()
/linux/arch/powerpc/mm/
A Dnuma.c209 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()
/linux/arch/x86/mm/
A 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()
A Dnuma_emulation.c511 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
/linux/arch/mips/loongson64/
A Dnuma.c61 return LOCAL_DISTANCE; in compute_node_distance()
/linux/arch/ia64/kernel/
A Dacpi.c449 slit_distance(0, 0) = LOCAL_DISTANCE; in acpi_numa_fixup()
492 LOCAL_DISTANCE : REMOTE_DISTANCE; in acpi_numa_fixup()
/linux/arch/powerpc/kernel/
A Dsetup_64.c821 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/mm/
A Dsparse-vmemmap.c492 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
A Dpercpu.c2908 (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()
/linux/arch/sparc/mm/
A Dinit_64.c1347 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()
/linux/drivers/nvme/host/
A Dmultipath.c200 distance = LOCAL_DISTANCE; in __nvme_find_path()
/linux/arch/sparc/kernel/
A Dsmp_64.c1576 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/kernel/sched/
A Dtopology.c1784 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_init_numa()
A Dfair.c1316 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