/linux/include/linux/ |
A D | topology.h | 52 #ifndef node_distance 53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) macro
|
/linux/kernel/sched/ |
A D | topology.c | 1688 printk(KERN_CONT "%02d ", node_distance(i,j)); in sched_numa_warn() 1698 if (distance == node_distance(0, 0)) in find_numa_distance() 1742 if (node_distance(a, b) < n) in init_numa_topology_type() 1747 if (node_distance(a, c) < n && in init_numa_topology_type() 1748 node_distance(b, c) < n) { in init_numa_topology_type() 1782 int distance = node_distance(i, j); in sched_init_numa() 1863 if (sched_debug() && (node_distance(j, k) != node_distance(k, j))) in sched_init_numa() 1866 if (node_distance(j, k) > sched_domains_numa_distance[i]) in sched_init_numa() 1946 if (node_distance(j, node) > sched_domains_numa_distance[i]) in __sched_domains_numa_masks_set() 1978 if (node_distance(j, node) <= sched_domains_numa_distance[i]) in sched_domains_numa_masks_set()
|
A D | fair.c | 1280 int dist = node_distance(nid, node); in score_nearby_nodes() 1969 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 1993 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2283 if (node_distance(a, b) < dist) { in preferred_group_nid() 7726 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
|
/linux/arch/mips/include/asm/mach-loongson64/ |
A D | topology.h | 19 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
/linux/arch/mips/include/asm/mach-ip27/ |
A D | topology.h | 27 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
/linux/include/asm-generic/ |
A D | numa.h | 10 #define node_distance(a, b) __node_distance(a, b) macro
|
/linux/arch/sparc/include/asm/ |
A D | topology_64.h | 34 #define node_distance(a, b) __node_distance(a, b) macro
|
/linux/arch/ia64/include/asm/ |
A D | numa.h | 64 #define node_distance(from,to) __node_distance(from, to) macro
|
/linux/arch/powerpc/include/asm/ |
A D | topology.h | 41 #define node_distance(a, b) __node_distance(a, b) macro
|
/linux/arch/x86/include/asm/ |
A D | topology.h | 81 #define node_distance(a, b) __node_distance(a, b) macro
|
/linux/arch/ia64/mm/ |
A D | discontig.c | 439 else if (node_distance(nid, node) < best) { in memory_less_node_alloc() 440 best = node_distance(nid, node); in memory_less_node_alloc()
|
/linux/arch/mips/sgi-ip27/ |
A D | ip27-memory.c | 193 pr_cont("%2d ", node_distance(row, col)); in dump_topology()
|
/linux/drivers/base/ |
A D | arch_numa.c | 155 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); in pcpu_cpu_distance()
|
A D | node.c | 555 i ? " " : "", node_distance(nid, i)); in node_read_distance()
|
/linux/arch/mips/mm/ |
A D | init.c | 519 return node_distance(cpu_to_node(from), cpu_to_node(to)); in pcpu_cpu_distance()
|
/linux/arch/x86/mm/ |
A D | numa_emulation.c | 461 node_distance(i, j); in numa_emulation()
|
/linux/mm/ |
A D | sparse-vmemmap.c | 492 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
|
A D | page_alloc.c | 3967 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim() 6172 val = node_distance(node, n); in find_next_best_node() 6264 if (node_distance(local_node, node) != in build_zonelists() 6265 node_distance(local_node, prev_node)) in build_zonelists()
|
A D | khugepaged.c | 824 if (node_distance(nid, i) > node_reclaim_distance) in khugepaged_scan_abort()
|
A D | mempolicy.c | 147 dist = node_distance(node, n); in numa_map_to_online_node()
|
/linux/arch/ia64/kernel/ |
A D | acpi.c | 514 printk("%03d ", node_distance(i, j)); in acpi_numa_fixup()
|
/linux/drivers/nvme/host/ |
A D | multipath.c | 198 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_crat.c | 1033 props->weight = node_distance(id_from, id_to); in kfd_parse_subtype_iolink()
|
/linux/drivers/crypto/hisilicon/ |
A D | qm.c | 3916 res->distance = node_distance(dev_node, node); in hisi_qm_sort_devices()
|