| /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/kernel/sched/ |
| H A D | topology.c | 1848 printk(KERN_CONT "(%02d) ", node_distance(i,j)); in sched_numa_warn() 1850 printk(KERN_CONT " %02d ", node_distance(i,j)); in sched_numa_warn() 1862 if (distance == node_distance(0, 0)) in find_numa_distance() 1920 if (node_distance(a, b) < n) in init_numa_topology_type() 1925 if (node_distance(a, c) < n && in init_numa_topology_type() 1926 node_distance(b, c) < n) { in init_numa_topology_type() 1955 return node_distance(i, j); in numa_node_dist()
|
| H A D | fair.c | 1778 int dist = node_distance(nid, node); in score_nearby_nodes() 2610 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2634 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2924 if (node_distance(a, b) < dist) { in preferred_group_nid() 9440 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
|
| /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()
|
| H A D | node.c | 636 i ? " " : "", node_distance(nid, i)); in node_read_distance()
|
| /linux/arch/mips/mm/ |
| H A D | init.c | 512 return node_distance(cpu_to_node(from), 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 | sparse-vmemmap.c | 149 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
|
| H A D | memory-tiers.c | 470 distance = node_distance(node, target); in establish_demotion_targets()
|
| H A D | page_alloc.c | 3737 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim() 5638 val = node_distance(node, n); in find_next_best_node() 5722 if (node_distance(local_node, node) != in build_zonelists() 5723 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()
|
| H A D | khugepaged.c | 843 if (node_distance(nid, i) > node_reclaim_distance) in hpage_collapse_scan_abort()
|
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 323 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/drivers/crypto/hisilicon/ |
| H A D | qm.c | 3755 res->distance = node_distance(dev_node, node); in hisi_qm_sort_devices()
|