Home
last modified time | relevance | path

Searched refs:num_nodes (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dcpumap.c45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */ member
127 int i, n, num_nodes; in enumerate_cpuinfo_nodes() local
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
136 num_nodes = 1; /* Include the root node */ in enumerate_cpuinfo_nodes()
144 tree_level[CPUINFO_LVL_NODE].num_nodes++; in enumerate_cpuinfo_nodes()
146 num_nodes++; in enumerate_cpuinfo_nodes()
150 tree_level[CPUINFO_LVL_CORE].num_nodes++; in enumerate_cpuinfo_nodes()
152 num_nodes++; in enumerate_cpuinfo_nodes()
156 tree_level[CPUINFO_LVL_PROC].num_nodes++; in enumerate_cpuinfo_nodes()
158 num_nodes++; in enumerate_cpuinfo_nodes()
[all …]
/arch/tile/kernel/
Dsetup.c448 int num_nodes = num_online_nodes(); in setup_memory() local
449 int cap_each = cap / num_nodes; in setup_memory()
451 for (i = 0; i < num_nodes; ++i) { in setup_memory()
736 int num_nodes = num_online_nodes(); in setup_numa_mapping() local
796 int d = distance[node][cpu] * num_nodes; in setup_numa_mapping()