Home
last modified time | relevance | path

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

/linux/drivers/of/
H A Dof_numa.c108 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()
/linux/include/linux/
H A Dtopology.h46 #define LOCAL_DISTANCE 10 macro
50 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
/linux/mm/
H A Dnuma_memblks.c80 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()
H A Dnuma_emulation.c506 LOCAL_DISTANCE : REMOTE_DISTANCE; in numa_emulation()
H A Dsparse-vmemmap.c149 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
H A Dpercpu.c2846 (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()
/linux/arch/loongarch/kernel/
H A Dnuma.c55 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/drivers/acpi/numa/
H A Dsrat.c296 if (val != LOCAL_DISTANCE) in slit_valid()
298 } else if (val <= LOCAL_DISTANCE) in slit_valid()
/linux/arch/s390/mm/
H A Dinit.c181 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/arch/powerpc/kernel/
H A Dsetup_64.c818 return LOCAL_DISTANCE; in pcpu_cpu_distance()
/linux/arch/sparc/mm/
H A Dinit_64.c1355 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()
/linux/drivers/nvme/host/
H A Dmultipath.c325 distance = LOCAL_DISTANCE; in __nvme_find_path()
/linux/kernel/sched/
H A Dtopology.c1982 if (distance < LOCAL_DISTANCE || distance >= NR_DISTANCE_VALUES) { in sched_record_numa_dist()
H A Dfair.c1721 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()
2819 for (dist = sched_max_numa_distance; dist > LOCAL_DISTANCE; dist--) { in preferred_group_nid()