Home
last modified time | relevance | path

Searched refs:numa_distance_cnt (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/base/
Darch_numa.c23 static int numa_distance_cnt; variable
262 size = numa_distance_cnt * numa_distance_cnt * in numa_free_distance()
266 numa_distance_cnt = 0; in numa_free_distance()
283 numa_distance_cnt = nr_node_ids; in numa_alloc_distance()
286 for (i = 0; i < numa_distance_cnt; i++) in numa_alloc_distance()
287 for (j = 0; j < numa_distance_cnt; j++) in numa_alloc_distance()
288 numa_distance[i * numa_distance_cnt + j] = i == j ? in numa_alloc_distance()
291 pr_debug("Initialized distance table, cnt=%d\n", numa_distance_cnt); in numa_alloc_distance()
315 if (from >= numa_distance_cnt || to >= numa_distance_cnt || in numa_set_distance()
329 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
[all …]
/linux-5.19.10/arch/x86/mm/
Dnuma.c31 static int numa_distance_cnt; variable
354 size_t size = numa_distance_cnt * numa_distance_cnt * sizeof(numa_distance[0]); in numa_reset_distance()
357 if (numa_distance_cnt) in numa_reset_distance()
359 numa_distance_cnt = 0; in numa_reset_distance()
389 numa_distance_cnt = cnt; in numa_alloc_distance()
425 if (from >= numa_distance_cnt || to >= numa_distance_cnt || in numa_set_distance()
439 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
444 if (from >= numa_distance_cnt || to >= numa_distance_cnt) in __node_distance()
446 return numa_distance[from * numa_distance_cnt + to]; in __node_distance()
677 numa_emulation(&numa_meminfo, numa_distance_cnt); in numa_init()
/linux-5.19.10/arch/loongarch/kernel/
Dacpi.c219 unsigned int numa_distance_cnt; variable