Searched refs:nr_nodes (Results 1 – 4 of 4) sorted by relevance
84 u64 addr, u64 max_addr, int nr_nodes) in split_nodes_interleave() argument92 if (nr_nodes <= 0) in split_nodes_interleave()94 if (nr_nodes > MAX_NUMNODES) { in split_nodes_interleave()96 nr_nodes, MAX_NUMNODES); in split_nodes_interleave()97 nr_nodes = MAX_NUMNODES; in split_nodes_interleave()105 size = PFN_PHYS((unsigned long)(size >> PAGE_SHIFT) / nr_nodes); in split_nodes_interleave()111 big = ((size & ~FAKE_NODE_MIN_HASH_MASK) * nr_nodes) / in split_nodes_interleave()172 ret = emu_setup_memblk(ei, pi, nid++ % nr_nodes, in split_nodes_interleave()200 static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes) in uniform_size() argument206 return PFN_PHYS((max_pfn - base_pfn - hole_pfns) / nr_nodes); in uniform_size()[all …]
58 for (i = 0; i < loongson_sysconf.nr_nodes; i++) { in cpu_node_probe()213 for (node = 0; node < loongson_sysconf.nr_nodes; node++) { in prom_meminit()
195 u32 nr_nodes; member
147 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()