Searched refs:node_distance (Results 1 – 15 of 15) sorted by relevance
/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | topology.h | 19 #define node_distance(from, to) (__node_distances[(from)][(to)]) macro
|
/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/loongarch/include/asm/ |
H A D | topology.h | 23 #define node_distance(from, to) __node_distance(from, to) macro
|
/linux/kernel/sched/ |
H A D | topology.c | 1793 printk(KERN_CONT "(%02d) ", node_distance(i,j)); in sched_numa_warn() 1795 printk(KERN_CONT " %02d ", node_distance(i,j)); in sched_numa_warn() 1807 if (distance == node_distance(0, 0)) in find_numa_distance() 1865 if (node_distance(a, b) < n) in init_numa_topology_type() 1870 if (node_distance(a, c) < n && in init_numa_topology_type() 1871 node_distance(b, c) < n) { in init_numa_topology_type() 1910 int distance = node_distance(i, j); in sched_init_numa() 1982 if (sched_debug() && (node_distance(j, k) != node_distance(k, j))) in sched_init_numa() 1985 if (node_distance(j, k) > sched_domains_numa_distance[i]) in sched_init_numa() 2095 if (node_distance(j, node) <= sched_domains_numa_distance[i]) in sched_domains_numa_masks_set()
|
H A D | fair.c | 1702 int dist = node_distance(nid, node); in score_nearby_nodes() 2537 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2561 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate() 2851 if (node_distance(a, b) < dist) { in preferred_group_nid() 9232 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
|
/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/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 | sparse-vmemmap.c | 149 if (node_distance(actual_node, node) > LOCAL_DISTANCE) in vmemmap_verify()
|
H A D | memory-tiers.c | 459 distance = node_distance(node, target); in establish_demotion_targets()
|
H A D | page_alloc.c | 3648 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in get_page_from_freelist() 5522 val = node_distance(node, n); in __build_all_zonelists() 5606 if (node_distance(local_node, node) != in build_all_zonelists() 5607 node_distance(local_node, prev_node)) in build_all_zonelists()
|
H A D | mempolicy.c | 297 dist = node_distance(node, n); in numa_nearest_node() 328 dist = node_distance(node, n); in nearest_node_nodemask()
|
H A D | khugepaged.c | 870 if (node_distance(nid, i) > node_reclaim_distance) in hpage_collapse_scan_abort()
|
/linux/drivers/nvme/host/ |
H A D | multipath.c | 321 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
|