/Linux-v6.6/include/linux/ |
D | topology.h | 52 #ifndef node_distance 53 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) macro
|
/Linux-v6.6/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 19 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
/Linux-v6.6/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 27 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
/Linux-v6.6/arch/loongarch/include/asm/ |
D | topology.h | 25 #define node_distance(from, to) (node_distances[(from)][(to)]) macro
|
/Linux-v6.6/include/asm-generic/ |
D | numa.h | 10 #define node_distance(a, b) __node_distance(a, b) macro
|
/Linux-v6.6/arch/ia64/include/asm/ |
D | numa.h | 64 #define node_distance(from,to) __node_distance(from, to) macro
|
/Linux-v6.6/arch/sparc/include/asm/ |
D | topology_64.h | 34 #define node_distance(a, b) __node_distance(a, b) macro
|
/Linux-v6.6/kernel/sched/ |
D | topology.c | 1725 printk(KERN_CONT "(%02d) ", node_distance(i,j)); in sched_numa_warn() 1727 printk(KERN_CONT " %02d ", node_distance(i,j)); in sched_numa_warn() 1739 if (distance == node_distance(0, 0)) in find_numa_distance() 1797 if (node_distance(a, b) < n) in init_numa_topology_type() 1802 if (node_distance(a, c) < n && in init_numa_topology_type() 1803 node_distance(b, c) < n) { in init_numa_topology_type() 1842 int distance = node_distance(i, j); in sched_init_numa() 1914 if (sched_debug() && (node_distance(j, k) != node_distance(k, j))) in sched_init_numa() 1917 if (node_distance(j, k) > sched_domains_numa_distance[i]) in sched_init_numa() 2036 if (node_distance(j, node) <= sched_domains_numa_distance[i]) in sched_domains_numa_masks_set()
|
D | fair.c | 1636 int dist = node_distance(nid, node); in score_nearby_nodes() 2465 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2489 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2779 if (node_distance(a, b) < dist) { in preferred_group_nid() 2907 distance = node_distance(max_nid, nid); in task_numa_placement() 8670 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | topology.h | 41 #define node_distance(a, b) __node_distance(a, b) macro
|
/Linux-v6.6/arch/x86/include/asm/ |
D | topology.h | 81 #define node_distance(a, b) __node_distance(a, b) macro
|
/Linux-v6.6/arch/ia64/mm/ |
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-v6.6/drivers/base/ |
D | arch_numa.c | 154 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); in pcpu_cpu_distance()
|
D | node.c | 564 i ? " " : "", node_distance(nid, i)); in node_read_distance()
|
/Linux-v6.6/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 193 pr_cont("%2d ", node_distance(row, col)); in dump_topology()
|
/Linux-v6.6/mm/ |
D | sparse-vmemmap.c | 139 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
|
D | memory-tiers.c | 404 distance = node_distance(node, target); in establish_demotion_targets()
|
D | page_alloc.c | 2982 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim() 4894 val = node_distance(node, n); in find_next_best_node() 4985 if (node_distance(local_node, node) != in build_zonelists() 4986 node_distance(local_node, prev_node)) in build_zonelists()
|
D | khugepaged.c | 848 if (node_distance(nid, i) > node_reclaim_distance) in hpage_collapse_scan_abort()
|
D | mempolicy.c | 150 dist = node_distance(node, n); in numa_map_to_online_node()
|
/Linux-v6.6/arch/mips/mm/ |
D | init.c | 524 return node_distance(cpu_to_node(from), cpu_to_node(to)); in pcpu_cpu_distance()
|
/Linux-v6.6/arch/x86/mm/ |
D | numa_emulation.c | 461 node_distance(i, j); in numa_emulation()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | acpi.c | 514 printk("%03d ", node_distance(i, j)); in acpi_numa_fixup()
|
/Linux-v6.6/drivers/nvme/host/ |
D | multipath.c | 250 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 1170 props->weight = node_distance(id_from, id_to); in kfd_parse_subtype_iolink()
|