Searched refs:node_distance (Results 1 – 14 of 14) sorted by relevance
| /linux/include/linux/ |
| H A D | topology.h | 49 #ifndef node_distance 50 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) macro
|
| /linux/arch/x86/kernel/ |
| H A D | smpboot.c | 519 if (node_distance(N + k, N + l) != in slit_cluster_symmetric() 520 node_distance(N + l, N + k)) in slit_cluster_symmetric() 633 return node_distance(i, j); in slit_cluster_distance() 646 d += node_distance(i, j); in slit_cluster_distance() 647 d += node_distance(j, i); in slit_cluster_distance() 656 int d = node_distance(from, to); in arch_sched_node_distance()
|
| /linux/arch/mips/include/asm/mach-ip27/ |
| H A D | topology.h | 27 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
| /linux/arch/sparc/include/asm/ |
| H A D | topology_64.h | 34 #define node_distance(a, b) __node_distance(a, b) macro
|
| /linux/include/asm-generic/ |
| H A D | numa.h | 10 #define node_distance(a, b) __node_distance(a, b) macro
|
| /linux/arch/powerpc/include/asm/ |
| H A D | topology.h | 41 #define node_distance(a, b) __node_distance(a, b) macro
|
| /linux/arch/x86/include/asm/ |
| H A D | topology.h | 81 #define node_distance(a, b) __node_distance(a, b) macro
|
| /linux/drivers/base/ |
| H A D | arch_numa.c | 154 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); in pcpu_cpu_distance()
|
| /linux/mm/ |
| H A D | numa_emulation.c | 460 node_distance(i, j); in numa_emulation()
|
| H A D | page_alloc.c | 3721 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim() 5614 val = node_distance(node, n); in find_next_best_node() 5698 if (node_distance(local_node, node) != in build_zonelists() 5699 node_distance(local_node, prev_node)) in build_zonelists()
|
| H A D | mempolicy.c | 298 dist = node_distance(node, n); in numa_nearest_node() 329 dist = node_distance(node, n); in nearest_node_nodemask()
|
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 306 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 1260 props->weight = node_distance(id_from, id_to); in kfd_parse_subtype_iolink()
|
| /linux/kernel/sched/ |
| H A D | fair.c | 1900 int dist = node_distance(nid, node); in score_nearby_nodes() 2732 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2756 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 3046 if (node_distance(a, b) < dist) { in preferred_group_nid() 9692 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
|